/* --- CSS RESET & BASE TYPOGRAPHY --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #F5F5F7;
  color: #1A2233;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  line-height: 1.65;
  letter-spacing: 0.02em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #207D8C;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.51,.09,.5,1.35);
}
a:hover {
  color: #1A2233;
  text-decoration: underline;
}
ul, ol {
  list-style: disc inside;
  margin-top: 8px;
  margin-bottom: 8px;
}

/* --- BRAND & ARTISTIC TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  color: #1A2233;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-wrap: balance;
}
h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
.text-section h2, .text-section h3, .text-section h4 { margin-top: 30px; }
p, li {
  font-size: 1rem;
  color: #21273a;
}
strong, b {
  color: #207D8C;
}

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

/* --- HEADER & NAVIGATION --- */
header {
  background: #fff;
  border-bottom: 2px solid #E6ECF0;
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
}
.logo img {
  height: 40px;
  width: auto;
  margin-right: 18px;
  filter: drop-shadow(0 2px 8px rgba(32,125,140,0.08));
}
nav[aria-label="Hauptnavigation"] {
  display: flex;
  gap: 24px;
  align-items: center;
}
nav[aria-label="Hauptnavigation"] a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #207D8C;
  border-radius: 6px;
  padding: 6px 12px;
  transition: background 0.18s, color 0.18s;
}
nav[aria-label="Hauptnavigation"] a:hover,
nav[aria-label="Hauptnavigation"] a:focus {
  background: #E9FAFA;
  color: #1A2233;
}
.cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #207D8C;
  color: #fff;
  font-weight: 800;
  border: none;
  border-radius: 20px;
  padding: 12px 32px;
  box-shadow: 0 2px 18px -8px #207D8C;
  margin-left: 12px;
  letter-spacing: 0.04em;
  font-size: 1.1rem;
  transition: background 0.18s, color 0.18s, box-shadow 0.22s;
  cursor: pointer;
  text-align: center;
  display: inline-block;
  text-shadow: 0 1px 1px rgba(32, 125, 140, 0.10);
}
.cta-button:hover, .cta-button:focus {
  background: #1A2233;
  color: #F5F5F7;
  box-shadow: 0 4px 32px -8px #1A2233;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #207D8C;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.18s;
  cursor: pointer;
  margin-left: 12px;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #E9FAFA;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26,34,51, 0.96);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.7,.02,.18,.93);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
}
.mobile-menu.active {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 22px 28px 10px 22px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F5F5F7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 34px;
  gap: 20px;
  margin-top: 10px;
}
.mobile-nav a {
  color: #F5F5F7;
  font-size: 1.4rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 14px 4px;
  border-radius: 6px;
  transition: background 0.17s, color 0.17s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #207D8C;
  color: #fff;
}

/* --- HERO BLOCKS --- */
.hero, .hero-services, .projects-hero, .pricing-hero, .contact-hero {
  background: linear-gradient(90deg, #207D8C 60%, #1A2233 100%);
  color: #fff;
  padding: 64px 0 60px 0;
  margin-bottom: 56px;
  box-shadow: 0 12px 58px -22px #207D8C33;
}
.hero .container, .hero-services .container,
.projects-hero .container, .pricing-hero .container, .contact-hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1, .hero-services h1, .projects-hero h1, .pricing-hero h1, .contact-hero h1 {
  color: #fff;
  font-size: 2.5rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  margin-bottom: 20px;
  text-shadow: 0 8px 30px #207D8C22;
}
.hero p, .hero-services p, .projects-hero p, .pricing-hero p, .contact-hero p {
  font-size: 1.25rem;
  color: #F5F5F7;
  margin-bottom: 28px;
}
.hero .cta-button, .hero-services .cta-button, .projects-hero .cta-button, .pricing-hero .cta-button, .contact-hero .cta-button {
  margin-top: 16px;
}

/* --- FEATURE ITEMS & GRID --- */
.features-overview, .why-us-features, .features-grid {
  background: #fff;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 30px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #E6ECF0;
  border-radius: 16px;
  box-shadow: 0 8px 40px -22px #207D8C21, 0 2px 8px #fff;
  padding: 32px 26px 26px 26px;
  gap: 15px;
  min-width: 210px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.21s, transform 0.2s;
}
.feature-item img {
  height: 36px;
  margin-bottom: 8px;
}
.feature-item h3 {
  font-size: 1.15rem;
  color: #207D8C;
}
.feature-item p {
  font-size: 1rem;
  color: #232A34;
}
.feature-item:hover {
  box-shadow: 0 12px 56px -14px #1A223344, 0 2px 12px #1A223311;
  transform: translateY(-7px) scale(1.025);
}

/* --- SERVICE LIST + PROJECT CARDS --- */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.service-item, .pricing-item {
  flex: 1 1 260px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 7px 28px -10px #207D8C18, 0 1px 8px #1A223304;
  margin-bottom: 20px;
  padding: 28px 24px 22px 24px;
  transition: box-shadow 0.18s, transform 0.17s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 230px;
  position: relative;
  gap: 12px;
}
.service-item img {
  height: 33px;
  margin-bottom: 8px;
}
.service-item h3, .pricing-item h3 {
  color: #207D8C;
  font-size: 1.12rem;
  margin-bottom: 9px;
}
.service-item ul, .pricing-item ul {
  margin-bottom: 9px;
  padding-left: 6px;
}
.price-badge {
  display: inline-block;
  background: #207D8C;
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 8px 18px 8px 18px;
  padding: 7px 20px;
  margin-top: 13px;
  box-shadow: 0 3px 16px -5px #207D8C22;
}
.service-item:hover, .pricing-item:hover {
  box-shadow: 0 16px 60px -12px #207D8C33;
  transform: scale(1.025);
}

.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 20px 0 16px 0;
}
.project-card {
  flex: 1 1 300px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px -10px #207D8C55;
  padding: 28px 20px;
  min-width: 210px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.18s;
  position: relative;
  border-left: 7px solid #207D8C;
  border-bottom: 2px solid #E6ECF0;
}
.project-card h3 { color: #1A2233; }
.project-card:hover {
  box-shadow: 0 14px 48px -8px #1A223355;
  transform: translateY(-6px) scale(1.012);
}

.pricing-table {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 32px 0;
}

/* --- TEXT/IMAGE FLEX SECTIONS --- */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

/* --- TESTIMONIALS --- */
.testimonials {
  background: #f4feff;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  padding: 28px 32px 28px 32px;
  border-radius: 16px;
  box-shadow: 0 7px 36px -14px #207D8C29, 0 1px 8px #fff8;
  margin-bottom: 30px;
  margin-top: 10px;
  max-width: 700px;
  color: #1A2233;
  position: relative;
  border-left: 5px solid #207D8C;
  font-size: 1.08rem;
  transition: box-shadow 0.17s;
}
.testimonial-card p {
  color: #1A2233;
  font-size: 1.11rem;
  font-style: italic;
}
.testimonial-card h4 {
  margin-bottom: 0;
  color: #207D8C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.testimonial-card:hover {
  box-shadow: 0 12px 44px -18px #207D8C55;
}

/* --- CTA BANNER --- */
.cta-section {
  background: #207D8C;
  color: #fff;
  text-align: center;
  padding: 54px 0 40px 0;
  margin-bottom: 48px;
  border-radius: 22px;
  box-shadow: 0 7px 48px -18px #207D8C25;
}
.cta-section h2 {
  color: #fff;
  margin-bottom: 24px;
}
.cta-section .cta-button {
  margin-top: 10px;
  background: #1A2233;
  color: #FFD980;
}
.cta-section .cta-button:hover {
  background: #fff;
  color: #207D8C;
  box-shadow: 0 6px 18px -3px #207D8C60;
}

/* --- ABOUT & NUMBERS SECTION --- */
.about-section, .values-section, .numbers-section, .privacy-policy-section, .gdpr-section, .terms-use-section, .cookies-policy-section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px -6px #207D8C11;
  padding: 40px 10px 40px 10px;
  margin-bottom: 58px;
}
.numbers-section ul {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 10px;
}
.numbers-section li {
  background: #f0f7f8;
  color: #207D8C;
  border-radius: 16px;
  padding: 16px 28px;
  min-width: 170px;
  margin-bottom: 0;
  font-size: 1.06rem;
}

/* --- CONTACT INFO --- */
.contact-info-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  margin: 14px 0 20px 0;
}
.contact-info-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  background: #f4feff;
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 2px 18px -8px #207D8C15;
  margin-bottom: 0;
  min-width: 200px;
}
.contact-info-item img {
  height: 29px;
}

/* --- MAP PLACEHOLDER --- */
.map-placeholder {
  background: #e7ecef;
  border-radius: 12px;
  padding: 22px 20px;
  color: #207D8C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  margin-top: 22px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px #207D8C11;
}

/* --- FAQS --- */
.faq-section {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px -8px #207D8C14;
  padding: 32px 10px 36px 10px;
}
.faq-item {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px dashed #E6ECF0;
}
.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.faq-item h3 {
  font-size: 1.1rem;
  color: #207D8C;
  margin-bottom: 4px;
}

/* --- THANK YOU SECTION --- */
.thank-you-section {
  background: #f4feff;
  border-radius: 18px;
  box-shadow: 0 7px 44px -18px #207D8C13;
  padding: 64px 10px 52px 10px;
  margin-bottom: 56px;
}
.thank-you-section .cta-button {
  margin-top: 26px;
}

/* --- FOOTER --- */
footer {
  padding-top: 40px;
  background: #1A2233;
  color: #fff;
  font-size: 0.95rem;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px 30px;
  justify-content: space-between;
  padding-bottom: 34px;
}
.footer-content img {
  height: 50px;
  margin-right: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 20px;
  align-items: center;
  margin: 0 0 15px 0;
}
.footer-nav a {
  color: #F5F5F7;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 6px;
  padding: 4px 10px;
  transition: background 0.18s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #207D8C;
  color: #FFD980;
}
.company-info {
  color: #B1C6CD;
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.45;
}
.footer-legal {
  width: 100%;
  color: #89b2bb;
  margin-top: 12px;
  text-align: right;
  font-size: 0.91rem;
  opacity: 0.8;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #1A2233;
  box-shadow: 0 -7px 38px -18px #207D8C44;
  border-top: 2px solid #207D8C;
  z-index: 1000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  gap: 20px;
  font-size: 1rem;
  animation: cookieBounceIn 0.6s;
}
@keyframes cookieBounceIn {
  from { transform: translateY(80px); opacity: 0.1; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin-right: 14px;
  font-size: 1.03rem;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn, .cookie-settings-btn {
  background: #207D8C;
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 9px 19px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.14s, color 0.18s, box-shadow 0.17s;
  margin-left: 2px;
  margin-right: 2px;
  box-shadow: 0 2px 12px -3px #207D8C33;
}
.cookie-btn.reject {
  background: #1A2233;
  color: #FFD980;
}
.cookie-btn:hover, .cookie-btn:focus, .cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #1A2233;
  color: #fff;
}
.cookie-settings-btn {
  background: #fff;
  color: #207D8C;
  border: 2px solid #207D8C;
}
.cookie-settings-btn:hover {
  background: #207D8C;
  color: #fff;
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(26,34,51,0.37);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .28s;
}
@keyframes fadeIn {
  0% { opacity:0; }
  100% { opacity:1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 52px -18px #207D8C55;
  max-width: 440px;
  width: 100%;
  padding: 38px 32px 24px 32px;
  color: #1A2233;
  font-size: 1.03rem;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal h2 {
  color: #207D8C;
  font-size: 1.18rem;
  font-weight: 900;
}
.cookie-category-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cookie-category label {
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-toggle {
  position: relative;
  width: 44px;
  height: 22px;
  display: inline-block;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #E6ECF0;
  border-radius: 18px;
  transition: .3s;
}
.cookie-toggle input:checked + .cookie-slider {
  background: #207D8C;
}
.cookie-slider:before {
  position: absolute;
  content: '';
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: .26s;
}
.cookie-toggle input:checked + .cookie-slider:before {
  transform: translateX(20px);
}
.cookie-modal .cookie-btns {
  margin-top: 1.1em;
  justify-content: flex-end;
  gap: 12px;
}
.cookie-modal .cookie-btn {
  min-width: 95px;
}

.cookie-modal .category-essential label { color: #1A2233; opacity:0.8; }
.category-essential input {
  display: none;
}
.category-essential .cookie-slider,
.category-essential .cookie-slider:before {
  opacity: 0.44;
  pointer-events: none;
}

.cookie-modal .close {
  position: absolute;
  right: 16px;
  top: 14px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #1A2233;
}
.cookie-modal .close:hover {
  color: #207D8C;
}

/* --- UTILS & SPACINGS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px -8px #207D8C2a;
  padding: 22px 18px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- ANIMATIONS --- */
.cta-button, .cookie-btn, .cookie-settings-btn, .service-item, .feature-item, .testimonial-card, .project-card, .pricing-item {
  transition: background 0.17s, color 0.16s, box-shadow 0.16s, transform 0.18s;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
  .container {
    padding: 0 10px;
  }
  .footer-content {
    gap: 28px 12px;
  }
  .features-grid, .services-list, .pricing-table, .project-list {
    gap: 18px;
  }
}
@media (max-width: 850px) {
  .footer-content, .features-grid, .services-list, .pricing-table, .project-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .service-item, .pricing-item, .feature-item, .project-card {
    min-width: 180px;
  }
  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  header .container {
    flex-direction: row;
    gap: 13px;
  }
  nav[aria-label="Hauptnavigation"] {
    display: none !important;
  }
  .footer-legal {
    text-align: left;
    margin-top: 18px;
  }
  .cta-section {
    padding: 32px 7px 32px 7px;
    margin-bottom: 34px;
    border-radius: 11px;
  }
  .feature-item, .service-item, .pricing-item, .project-card {
    min-width: 95%;
    width: 100%;
    margin-bottom: 22px;
    padding: 20px 10px 16px 13px;
    font-size: 0.97rem;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 18px 11px;
    border-radius: 11px;
    min-width: unset;
  }
  .numbers-section ul {
    flex-direction: column;
    gap: 11px;
  }
  .thank-you-section {
    padding: 50px 5px 38px 5px;
    margin-bottom: 42px;
    border-radius: 11px;
  }
  .about-section, .values-section, .numbers-section, .privacy-policy-section, .gdpr-section, .terms-use-section, .cookies-policy-section, .faq-section {
    padding: 24px 6px 24px 8px;
    margin-bottom: 34px;
    border-radius: 11px;
  }
  .contact-info-list {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .project-list, .services-list, .features-grid, .pricing-table {
    gap: 11px;
  }
  .mobile-menu-toggle {
    display: block !important;
  }
}
@media (max-width: 540px) {
  html { font-size: 14px; }
  h1 { font-size: 1.88rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.03rem; }
  .hero,
  .hero-services,
  .projects-hero,
  .pricing-hero,
  .contact-hero {
    padding: 32px 0 24px 0;
    margin-bottom: 34px;
    border-radius: 11px;
  }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 18px;
  }
  .company-info {
    margin-bottom: 22px;
  }
  .cookie-banner {
    padding: 12px 7px;
    flex-direction: column;
    gap: 10px;
    font-size: .99rem;
    align-items: flex-start;
  }
  .cookie-modal {
    padding: 18px 7px 12px 7px;
    max-width: 99vw;
  }
}

/* --- END OF STYLE.CSS --- */
