/* ============================== */
/* Kraftwerk Karlsruhe MAIN CSS    */
/* ============================== */

/* --- 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, 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, 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;
}
article, aside, details, figcaption, figure, footer, header, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F4F6F8;
  color: #243F6E;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
a {
  color: #243F6E;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #B6D05C;
  outline-offset: 2px;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
strong {
  color: #243F6E;
}

/* --- TYPOGRAPHY & FONT SCALE --- */
h1, .h1 {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.75em;
  color: #243F6E;
  letter-spacing: 0.5px;
}
h2, .h2 {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.75em;
  color: #243F6E;
}
h3, .h3 {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.5em;
  color: #243F6E;
}
h4, .h4 {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #243F6E;
}
p, .body {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 1em;
  color: #3b4563;
}
.subheadline {
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 18px;
  color: #243F6E;
  letter-spacing: 0.1px;
}

/* General spacing for sections/containers */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 14px rgba(36,63,110,0.04), 0 1.5px 6px rgba(182,208,92,0.05);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.text-section {
  margin-bottom: 16px;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #243F6E;
  color: #fff;
  box-shadow: 0 3px 16px rgba(36, 63, 110, 0.11);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 30;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
  padding: 0 18px;
  position: relative;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
header nav a {
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover, header nav a.active {
  background: #fff;
  color: #243F6E;
}
header img {
  max-height: 46px;
  border-radius: 6px;
}
header .btn-primary {
  margin-left: 24px;
  margin-right: 8px;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #B6D05C;
  font-size: 28px;
  cursor: pointer;
  border-radius: 12px;
  padding: 8px 12px;
  transition: background 0.18s;
  z-index: 50;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #3f5994;
  color: #fff;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #243F6E;
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.44,0.13,0.48,0.87);
  flex-direction: column;
  align-items: flex-start;
  overflow-y: auto;
  padding-top: 28px;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #B6D05C;
  font-size: 2rem;
  padding: 12px 18px;
  align-self: flex-end;
  margin-bottom: 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #3f5994;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 14px;
  padding: 24px 30px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 14px 10px;
  border-radius: 8px;
  background: transparent;
  transition: background 0.16s, color 0.14s;
  min-width: 70vw;
}
.mobile-nav a:hover {
  background: #B6D05C;
  color: #243F6E;
}

@media (max-width: 990px) {
  header .container nav, header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 990px) {
  .mobile-menu {
    display: flex;
  }
}

@media (min-width: 991px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(90deg, #fff 68%, #B6D05C 100%);
  box-shadow: 0 2px 14px rgba(182, 208, 92, 0.03);
  border-radius: 28px;
  margin-top: 36px;
  margin-bottom: 48px;
  min-height: 290px;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  padding: 36px 0;
  gap: 16px;
}
.hero h1 {
  color: #243F6E;
  font-size: 2.1rem;
  margin-bottom: 0.5em;
}
.hero .subheadline {
  color: #5B675A;
}

/* --- BUTTONS & CTAs --- */
.btn-primary {
  appearance: none;
  background: #B6D05C;
  color: #243F6E;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  border: none;
  border-radius: 16px;
  padding: 13px 32px;
  cursor: pointer;
  box-shadow: 0 2.5px 14px 0 rgba(36, 63, 110, 0.04);
  margin-top: 8px;
  transition: background 0.18s, color 0.16s, box-shadow 0.22s;
  display: inline-block;
  letter-spacing: 0.4px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #a2bc54;
  color: #224077;
  box-shadow: 0 4px 20px 0 rgba(36, 63, 110, 0.10);
}

.btn-secondary {
  appearance: none;
  background: #fff;
  border: 2px solid #B6D05C;
  color: #243F6E;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 16px;
  padding: 12px 25px;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.14s, border 0.19s, color 0.13s;
  display: inline-block;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #B6D05C;
  color: #153365;
}

/* --- FLEXBOX LAYOUTS (MANDATORY PATTERNS) --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 1.5px 4px rgba(36,63,110,0.06);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2.5px 16px rgba(36, 63, 110, 0.06), 0 1.5px 6px rgba(182,208,92,0.04);
  margin-bottom: 24px;
  min-width: 240px;
  max-width: 420px;
  flex: 1 1 270px;
  transition: box-shadow 0.22s, transform 0.19s;
}
.testimonial-card:hover {
  box-shadow:0 8px 30px 0 rgba(36, 63, 110, 0.15);
  transform: translateY(-3px) scale(1.03);
}
.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 18px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- Features, Cards, Service-List, etc. --- */
.features {
  background: #F9FAF6;
  border-radius: 20px;
  box-shadow: 0 1px 12px rgba(182,208,92,0.07);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 16px;
  margin-bottom: 8px;
}
.feature {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 1.5px 6px 0 rgba(36,63,110,0.07);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 220px;
  transition: box-shadow 0.18s;
}
.feature img {
  height: 40px;
  width: 40px;
  background: #F4F6F8;
  border-radius: 50%;
  object-fit: contain;
  margin-bottom: 6px;
}
.feature:hover {
  box-shadow: 0 4px 22px 0 rgba(182,208,92,0.18);
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 18px;
  list-style: none;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(36,63,110,0.06);
  padding: 12px 16px;
  font-size: 1rem;
}
.feature-list img {
  width: 26px;
  height: 26px;
  margin-top: 2px;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.service {
  background: #F9FAF6;
  border-radius: 16px;
  box-shadow: 0 1.5px 9px rgba(182,208,92,0.045);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 200px;
  margin-bottom: 18px;
}
.price {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  color: #7f961e;
  margin-bottom: 5px;
}

/* --- CTA Section --- */
.cta {
  background: #B6D05C;
  color: #243F6E;
  border-radius: 24px;
  box-shadow: 0 2px 18px rgba(182, 208, 92, 0.07);
  text-align: left;
  display: flex;
  align-items: center;
  padding: 28px 0 34px 0;
  margin-bottom: 60px;
}
.cta .content-wrapper {
  align-items: flex-start;
  padding-left: 10px;
}
.cta h2 {
  color: #243F6E;
  font-size: 2rem;
  margin-bottom: 0.4em;
}
.cta p {
  color: #46603b;
}
.cta .btn-primary {
  background: #243F6E;
  color: #fff;
  margin-top: 14px;
}
.cta .btn-primary:hover {
  background: #192f54;
  color: #B6D05C;
}

/* --- TESTIMONIALS --- */
.testimonials {
  background: #F9FAF6;
  border-radius: 22px;
  box-shadow: 0 1.5px 10px 0 rgba(36,63,110,0.05);
  padding-top: 36px;
  padding-bottom: 28px;
}
.testimonial-card p {
  font-size: 1.05rem;
  color: #243F6E;
  font-weight: 500;
}
.testimonial-meta {
  color: #46603b;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 4px;
  font-style: italic;
}
.stars {
  color: #B6D05C;
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-top: 2px;
  user-select: none;
}

/* --- FOOTER --- */
footer {
  background: #243F6E;
  color: #fff;
  border-radius: 18px 18px 0px 0px;
  box-shadow: 0 -1.5px 10px rgba(36,63,110,0.10);
  padding: 36px 0 24px 0;
  margin-top: 36px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer nav a {
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  opacity: 0.86;
  padding: 4px 0;
  border-radius: 6px;
  transition: background 0.12s, color 0.12s;
}
footer nav a:hover {
  background: #B6D05C;
  color: #243F6E;
}
.footer-contact {
  font-size: 1rem;
  line-height: 1.65;
  color: #e1efd0;
  max-width: 220px;
  margin-top: 3px;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  margin-top: 8px;
}
.footer-social a img {
  width: 34px;
  height: 34px;
  background: #B6D05C;
  border-radius: 50%;
  padding: 5px;
  transition: box-shadow 0.2s, background 0.12s;
}
.footer-social a:hover img {
  background: #fff;
  box-shadow: 0 3px 16px rgba(36, 63, 110, 0.10);
}

/* --- CONTACT PAGE SPECIFIC --- */
.contact-details {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1.5px 8px 0 rgba(36,63,110,0.04);
  padding: 16px 18px;
  color: #243F6E;
  margin-bottom: 23px;
  margin-top: 5px;
}

.confirmation {
  background: #d4dfbd;
  color: #243F6E;
  border-radius: 20px;
  margin-top: 36px;
  padding: 40px 20px;
}
.confirmation h1 {
  color: #243F6E;
  font-size: 2rem;
}
.confirmation p {
  font-size: 1.07rem;
  color: #5B675A;
}

/* --- COOKIE CONSENT BANNER and MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffceb;
  color: #243F6E;
  box-shadow: 0 -3px 40px rgba(36,63,110,0.09);
  padding: 20px 24px;
  border-radius: 24px 24px 0 0;
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  font-size: 1rem;
  transition: transform 0.33s cubic-bezier(0.44,0.13,0.48,0.87);
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}
.cookie-banner .btn-primary, 
.cookie-banner .btn-secondary {
  font-size: 1rem;
  padding: 9px 24px;
  border-radius: 12px;
}
.cookie-banner .btn-secondary {
  border-color: #B6D05C;
}
.cookie-banner .btn-primary:hover {
  background: #243F6E;
  color: #fff;
}
.cookie-banner .btn-secondary:hover {
  background: #F4F6F8;
}

/* Cookie settings modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 3500;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,63,110, 0.22);
  justify-content: center;
  align-items: center;
  transition: background 0.26s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  padding: 32px 24px 26px 24px;
  box-shadow: 0 4px 42px rgba(36,63,110,0.15);
  min-width: 295px;
  max-width: 370px;
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalIn 0.33s cubic-bezier(0.42, 0.12, 0.48, 0.83);
}
@keyframes modalIn {
  from { transform: translateY(80px) scale(0.99); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: #243F6E;
  font-size: 1.25rem;
  font-family: 'Oswald', Arial, sans-serif;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #F4F6F8;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 7px;
}
.cookie-category .switch {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cookie-toggle {
  width: 38px;
  height: 20px;
  border-radius: 20px;
  background: #B6D05C;
  position: relative;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-toggle[aria-checked="false"] {
  background: #e6e6e6;
}
.cookie-toggle .toggle-knob {
  display: block;
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.17s cubic-bezier(0.44,0.13,0.48,0.87);
}
.cookie-toggle[aria-checked="true"] .toggle-knob {
  transform: translateX(18px);
}
.cookie-toggle[aria-checked="false"] .toggle-knob {
  transform: translateX(0px);
}
.cookie-modal .btn-primary {
  width: 100%;
  margin-top: 10px;
}
.cookie-modal .close-modal {
  background: transparent;
  border: none;
  position: absolute;
  right: 22px;
  top: 18px;
  color: #B6D05C;
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1200px) {
  .footer-row, .feature-grid, .testimonial-cards {
    flex-wrap: wrap;
    gap: 28px;
  }
}
@media (max-width: 900px) {
  .footer-row, .feature-grid, .testimonial-cards {
    flex-direction: column;
    gap: 18px;
  }
  .footer-contact, .footer-social {
    margin-top: 18px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 9px;
  }
  section, .section {
    margin-bottom: 36px;
    padding: 20px 6px;
    border-radius: 18px;
  }
  .content-wrapper {
    gap: 12px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .cta {
    padding: 18px 4px 24px 4px;
    border-radius: 14px;
    margin-bottom: 38px;
  }
  .cta h2, .cta .content-wrapper h2 {
    font-size: 1.3rem;
  }
  .testimonial-cards {
    gap: 10px;
  }
  .footer-row {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  header .container {
    padding: 0 8px;
    min-height: 60px;
  }
  .hero {
    margin-top: 18px;
    min-height: 180px;
    border-radius: 15px;
    padding: 16px 0;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
@media (max-width: 450px) {
  .hero, .footer-contact, .service, .confirmation, .testimonial-card, .cookie-modal {
    padding-left: 8px;
    padding-right: 8px;
  }
  .cta {
    padding: 10px 0 18px 0;
  }
  h1 {
    font-size: 1.4rem;
  }
  h2 {
    font-size: 1.05rem;
  }
  .cookie-modal {
    min-width: 180px;
    padding: 14px 6px 20px 6px;
  }
}

/* --- TRANSITIONS, MICRO-INTERACTIONS --- */
section, .feature, .testimonial-card, .cta, .cookie-banner, .cookie-modal {
  transition: box-shadow 0.18s, background 0.18s;
}
.btn-primary, .btn-secondary, .mobile-menu-toggle, .mobile-menu-close, .footer-social a img {
  transition: all 0.18s cubic-bezier(0.3,0.4,0.5,0.7);
}
@media (hover:hover) {
  .feature:hover, .testimonial-card:hover {
    box-shadow: 0 8px 30px 0 rgba(182,208,92,0.19);
  }
}

/* --- GENERAL UTILITY CLASSES --- */
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

::-webkit-scrollbar {
  width: 7px;
  background: #F4F6F8;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb {
  background: #B6D05C;
  border-radius: 3px;
}

/* =============== END =============== */