/* ==== 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, 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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100%;
  line-height: 1.6;
  background: #F4F7FA;
  color: #183153;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
}

/* ==== FONT IMPORTS ==== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #183153;
  font-weight: 700;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; font-weight: 600; }
h4, h5, h6 { font-size: 1.15rem; margin-bottom: 10px; font-weight: 600; }

p, ul, ol, li, table, th, td, label, input, textarea {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #27364C;
}
strong, b { font-weight: 600; }

ul, ol {
  margin-bottom: 24px;
  margin-left: 1.5em;
  list-style-type: disc;
  font-size: 1rem;
}
li {
  margin-bottom: 8px;
}
a {
  color: #183153;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
a:hover, a:focus {
  color: #F2B705;
  outline: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ==== LAYOUT CONTAINERS ==== */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(24,49,83,0.07);
}

.hero, .about-hero {
  background: linear-gradient(90deg, #183153 85%, #F2B705 120%);
  color: #fff;
  padding: 64px 0 48px 0;
  min-height: 300px;
}
.hero h1, .about-hero h1, .hero p, .about-hero p{
  color: #fff;
}
.hero .content-wrapper, .about-hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero a.cta-primary {
  margin-top: 20px;
}

.cta-section {
  background: #183153;
  color: #fff;
  margin-bottom: 0;
  border-radius: 0 0 12px 12px;
}
.cta-section h2, .cta-section .contact-info,
.cta-section p, .cta-section a {
  color: #fff;
}

.confirmation {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(24,49,83,0.10);
  margin: 60px 0 40px 0;
  padding: 40px 20px;
}

.legal-text {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(24,49,83,0.08);
  margin-top: 40px;
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ==== NAVIGATION ==== */
header {
  background: #fff;
  border-bottom: 1px solid #e6ecf3;
  box-shadow: 0 1px 8px 0 rgba(24,49,83,0.04);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 24px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  color: #183153;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
header nav a.cta-primary {
  background: #F2B705;
  color: #183153;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  margin-left: 20px;
  box-shadow: 0 2px 8px 0 rgba(24,49,83,0.10);
  transition: background 0.2s, color 0.2s;
}
header nav a.cta-primary:hover, header nav a.cta-primary:focus {
  background: #183153;
  color: #fff;
}
header nav a:hover, header nav a:focus {
  background: #F4F7FA;
  color: #183153;
}

.mobile-menu-toggle {
  display: inline-flex;
  background: #F2B705;
  color: #183153;
  border: none;
  border-radius: 8px;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(24,49,83,0.08);
  margin-left: 1rem;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #ffd54c;
  outline: 2px solid #183153;
}

.mobile-menu {
  position: fixed;
  z-index: 1200;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #183153;
  box-shadow: 0 4px 32px 0 rgba(24,49,83,0.22);
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.3,0.7,0.4,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px 24px 24px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  margin-bottom: 36px;
  cursor: pointer;
  padding: 0 0 8px 0;
  transition: color 0.15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #F2B705;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 14px 0;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2B705;
  color: #183153;
}

/* Hide desktop menu on mobile */
@media (max-width: 980px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}
@media (min-width: 981px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
  header nav {
    display: flex;
  }
}

/* ==== CARDS & FLEX CONTAINERS ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 rgba(24,49,83,0.08);
  padding: 28px 20px;
  min-width: 220px;
  max-width: 350px;
  flex: 1 1 220px;
  transition: box-shadow 0.18s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px 0 rgba(24,49,83,0.16);
}

.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;
}

.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #F4F7FA;
  color: #183153;
  border-radius: 10px;
  box-shadow: 0 1px 7px 0 #cbd7e6;
  padding: 20px;
  flex: 1 1 280px;
  max-width: 390px;
  min-width: 240px;
  font-style: italic;
  margin-bottom: 20px;
  flex-direction: column;
  position: relative;
}
.testimonial-card p {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #183153 !important;
  line-height: 1.5;
}
.testimonial-card strong {
  color: #183153;
  font-size: 0.96rem;
  font-style: normal;
}

.feature-grid, .service-list, .process-steps, .benefits-grid, .equipment-list, .faq-short, .faq-list, .partners, .timeline, .process-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 10px 0 #e3e7ef;
  padding: 24px 18px 18px 18px;
  transition: box-shadow 0.15s;
  min-width: 200px;
  max-width: 320px;
  flex: 1 1 200px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 2px 24px 0 #b2bed7;
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}

.process-step {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 10px 0 #e3e7ef;
  padding: 22px 18px 18px 18px;
  min-width: 200px;
  max-width: 320px;
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.process-step img {
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
}

/***** Custom Table Styles (Preise) *****/
.pricing-table {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #fff;
  padding: 24px 18px;
  border-radius: 12px;
  box-shadow: 0 1.5px 10px 0 #e3e7ef;
}
.pricing-table table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 14px;
}
.pricing-table th, .pricing-table td {
  border: 1px solid #e6ecf3;
  padding: 12px 8px;
  text-align: left;
  background: #F4F7FA;
  font-size: 1rem;
}
.pricing-table th {
  background: #183153;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
}
.pricing-table tr:nth-of-type(even) td {
  background: #f6faff;
}
.price-notes ul {
  list-style: disc inside;
  color: #27364C;
  font-size: 0.98rem;
}

/***** Timeline/Partners/Milestones *****/
.timeline, .partners, .milestones {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.timeline > div, .partners > div {
  background: #F4F7FA;
  border-radius: 10px;
  box-shadow: 0 1px 7px 0 #cbd7e6;
  padding: 16px 18px;
  min-width: 180px;
  flex: 1 1 180px;
  max-width: 300px;
}
.timeline h3 {
  margin-bottom: 8px;
}
.certifications {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}
.certifications img {
  width: 34px;
  height: 34px;
}
.partners img {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
}

/***** Call To Action Button *****/
.cta-primary {
  display: inline-block;
  background: #F2B705;
  color: #183153 !important;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  border: none;
  border-radius: 8px;
  padding: 13px 32px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 1.5px 8px 0 rgba(24,49,83,0.11);
  margin-top: 10px;
  margin-bottom: 14px;
  transition: background 0.19s, color 0.19s, box-shadow 0.18s;
  letter-spacing: 0.01em;
}
.cta-primary:hover, .cta-primary:focus {
  background: #183153;
  color: #fff !important;
  box-shadow: 0 2px 16px 0 #b2bed7;
  outline: none;
}

/***** Footer *****/
footer {
  background: #183153;
  color: #fff;
  padding: 32px 0 16px 0;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 6px 0;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F2B705;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer-brand img {
  width: 48px;
  height: 48px;
}
.footer-brand p {
  font-size: 0.94rem;
  color: #f5f7fa;
}

/***** Lists and Contact Info *****/
.contact-info p, .contact-info a {
  color: #fff;
  font-size: 1.07rem;
}
.contact-info {
  margin-top: 12px;
}
ul {
  padding-left: 1.4em;
}

/***** Cookie Consent Banner & Modal *****/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2050;
  width: 100vw;
  background: #fff;
  color: #183153;
  border-top: 2px solid #183153;
  box-shadow: 0 -4px 24px 0 #bcc8db;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 32px;
  animation: cookie-slidein 0.6s cubic-bezier(0.4,0.85,0.65,1) forwards;
}
@keyframes cookie-slidein {
  0% { transform: translateY(120%); opacity: 0; }
  60% { transform: translateY(-8px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.cookie-banner button {
  display: inline-block;
  padding: 9px 20px;
  border: none;
  border-radius: 7px;
  background: #F2B705;
  color: #183153;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  margin-right: 2px;
  transition: background 0.16s, color 0.16s;
}
.cookie-banner button.cookie-settings {
  background: #F4F7FA;
  color: #183153;
  border: 1px solid #e5e9f0;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #183153;
  color: #fff;
  outline: none;
}
.cookie-banner button.cookie-settings:focus, .cookie-banner button.cookie-settings:hover {
  background: #F2B705;
  color: #183153;
}

.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(24,49,83,0.35);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.22s;
}
.cookie-modal {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 6px 32px 0 #b2bed7;
  max-width: 420px;
  width: 92vw;
  padding: 30px 28px 22px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modal-pop-in 0.23s cubic-bezier(0.4,0.82,0.6,1) forwards;
}
@keyframes modal-pop-in {
  0% { transform: scale(0.88) translateY(80px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal .modal-close {
  position: absolute;
  right: 16px;
  top: 13px;
  background: none;
  border: none;
  color: #183153;
  font-size: 2rem;
  cursor: pointer;
}
.cookie-modal h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 10px;
  color: #183153;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 1.02rem;
  color: #27364C;
}
.cookie-category label {
  user-select: none;
  color: #27364C;
}
.cookie-category input[type='checkbox'] {
  width: 22px;
  height: 22px;
  accent-color: #F2B705;
  border-radius: 6px;
  margin-right: 3px;
}
.cookie-category input[disabled] {
  opacity: 0.55;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  padding: 10px 18px;
  border-radius: 7px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}

/***** Animations for Banner/Modal *****/
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    transition: none !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/***** RESPONSIVE DESIGN *****/
@media (max-width: 980px) {
  .container {
    padding: 0 10px;
  }
  .section, .confirmation, .legal-text {
    padding: 30px 8px;
  }
  .hero, .about-hero {
    padding: 38px 0 28px 0;
    min-height: 200px;
  }
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.18rem; }
  .cta-section {
    border-radius: 0;
  }
  .card-container, .content-grid, .feature-grid, .service-list, .process-steps, .benefits-grid, .equipment-list, .faq-short, .faq-list, .partners, .timeline, .process-overview {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .process-step, .timeline > div, .partners > div, .testimonial-card {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: unset;
  }
  .testimonials, .footer-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 12px;
    gap: 18px;
  }
}
@media (max-width: 680px) {
  .hero, .about-hero { padding: 28px 0 18px 0; }
  .container {
    padding: 0 6px;
  }
  .confirmation,
  .section, .legal-text {
    padding: 12px 5px;
  }
  .cta-section { padding: 18px 6px; }
}

/***** Misc Elements *****/
::-webkit-input-placeholder { color: #8b98b8; }
::-moz-placeholder { color: #8b98b8; }
:-ms-input-placeholder { color: #8b98b8; }
::placeholder { color: #8b98b8; }

/***** Custom scrollbar *****/
html {
  scrollbar-width: thin;
  scrollbar-color: #F2B705 #f6faff;
}
body::-webkit-scrollbar {
  width: 9px;
}
body::-webkit-scrollbar-thumb {
  background-color: #F2B705;
  border-radius: 6px;
}
body::-webkit-scrollbar-track {
  background: #f6faff;
}

/***** Utility classes *****/
.d-flex {
  display: flex;
}
.align-center {
  align-items: center;
}
.flex-col {
  flex-direction: column;
}
.gap-20 { gap: 20px; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.mb-0 { margin-bottom: 0 !important; }

/***** Accessibility focus *****/
a, button, input, textarea, select {
  outline-offset: 2px;
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid #F2B705;
  outline-style: solid;
}

/***** Hide some visually-only headings for ARIA *****/
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/***** Table in Preisliste for scroll on mobile *****/
@media (max-width: 600px) {
  .pricing-table table {
    font-size: 0.95rem;
    min-width: 420px;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/***** FAQ Item Style *****/
.faq-list > div, .faq-short > div {
  background: #F4F7FA;
  border-radius: 9px;
  box-shadow: 0 0.5px 4px 0 #ccd9e6;
  padding: 14px 14px;
}

/***** Form or input style (basic for contact) *****/
input, textarea, select {
  border: 1px solid #cbd7e6;
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 18px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  outline: none;
  transition: border-color 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: #F2B705;
}

/***** Icon in List (Kontakt etc) *****/
ul li img, ol li img {
  vertical-align: middle;
  margin-right: 9px;
  height: 20px;
}

/***** Smooth transitions for cards & buttons *****/
.card, .feature-item, .process-step {
  transition: box-shadow 0.16s, transform 0.14s;
}
.card:hover, .feature-item:hover, .process-step:hover, .card:focus-within, .feature-item:focus-within, .process-step:focus-within {
  box-shadow: 0 4px 28px 0 #b2bed7;
  transform: translateY(-2px) scale(1.015);
}

/***** Shadow on hero text for contrast on img backgrounds *****/
.hero h1, .hero p, .about-hero h1, .about-hero p {
  text-shadow: 0 2px 6px rgba(24,49,83,0.12);
}

/***** Section spacing override for very last section before footer *****/
.section:last-child {
  margin-bottom: 36px;
}

/***** Misc for accessibility & clarity *****/
@media (max-width: 420px) {
  .footer-brand img {
    width: 32px; height: 32px;
  }
  .cookie-modal {
    padding: 14px 6px 12px 6px;
  }
}
