/* 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, hgroup, 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, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
  min-height: 100vh;
  background: #FAFBFC;
}
ol, ul {
  list-style: none;
  padding-left: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  border: none;
  outline: none;
  background: none;
  box-shadow: none;
}

/* BASE BRANDING & PASTEL PALETTE */
:root {
  --brand-primary: #003359;
  --brand-secondary: #5FC9C2;
  --brand-accent: #F2F6FA;
  --brand-neutral: #FFFFFF;
  --brand-dark-text: #233245;
  --brand-gentle-pink: #FAE3E3;
  --brand-gentle-yellow: #FFF6E0;
  --brand-gentle-green: #DBF6ED;
  --brand-gentle-blue: #D3ECF9;
  --brand-gentle-violet: #EDE6FA;
  --shadow-soft: 0 4px 24px rgba(0,24,64,0.06), 0 1.5px 6px rgba(151,186,185,0.10);
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #F2F6FA 0%, #DBF6ED 88%);
  color: var(--brand-dark-text);
  font-size: 16px;
  letter-spacing: 0.01em;
  transition: background 0.5s;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--brand-primary);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
  line-height: 1.1;
}
h1 { font-size: 2.5rem; margin-bottom: 18px;}
h2 { font-size: 2rem; margin-bottom: 14px;}
h3 { font-size: 1.25rem; }
p { color: var(--brand-dark-text); line-height: 1.7; margin-bottom: 16px; }

strong, b { color: var(--brand-primary); font-weight: 700; }

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* HEADER & NAVIGATION */
header {
  background: var(--brand-neutral);
  box-shadow: 0 1px 16px rgba(0,51,89,0.04);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 18px;
}
.logo img {
  height: 48px;
  width: auto;
  vertical-align: middle;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--brand-primary);
  font-size: 1rem;
  padding: 4px 0 2px 0;
  border-bottom: 2px solid transparent;
  transition: border 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--brand-secondary);
  border-bottom: 2px solid var(--brand-secondary);
}

.cta.primary {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  border-radius: 25px;
  padding: 11px 32px;
  box-shadow: var(--shadow-soft);
  letter-spacing: 0.02em;
  margin-left: 10px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 6px 32px rgba(95, 201, 194, 0.15);
}

.mobile-menu-toggle {
  display: none;
  background: var(--brand-gentle-blue);
  color: var(--brand-primary);
  font-size: 2rem;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-soft);
  transition: background 0.15s, color 0.15s;
  margin-left: 10px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--brand-secondary);
  color: #fff;
}

/* MOBILE MENU STYLES & ANIMATION */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 94vw;
  max-width: 360px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 24px rgba(0,51,89,0.13);
  z-index: 110;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.51,.3,.31,.95);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--brand-primary);
  background: none;
  border: none;
  align-self: flex-end;
  margin: 18px 18px 6px 0;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--brand-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 10px 30px 30px 26px;
  margin-top: 8px;
  font-size: 1.08rem;
}
.mobile-nav a {
  padding: 12px 0;
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border-bottom: 1px solid #F2F6FA;
  transition: color 0.14s, background 0.14s;
  border-radius: 8px;
  min-width: 180px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-gentle-blue);
  color: var(--brand-secondary);
}

/* Hide desktop nav & show burger in mobile */
@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
}

/* HERO SECTION */
.hero {
  min-height: 300px;
  background: linear-gradient(120deg, var(--brand-gentle-blue) 0%, var(--brand-accent) 100%);
  text-align: left;
  display: flex;
  align-items: center;
  margin-bottom: 0;
  border-radius: 0 0 55px 55px / 0 0 42px 42px;
  box-shadow: 0 4px 18px rgba(95,201,194,0.06);
}
.hero .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  min-height: 280px;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  padding: 58px 0 26px 0;
}
.hero h1, .hero h2 {
  color: var(--brand-primary);
  text-shadow: 0 2px 16px rgba(211,236,249,.12);
}
.hero h2 {
  color: var(--brand-secondary);
}

/* SECTION & SPACING STRUCTURE */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.features,
.about,
.services,
.testimonials,
.contact,
.workshop-angebote,
.services-detail,
.support-leistungen,
.leistungen,
.legal {
  margin-bottom: 60px;
  padding: 40px 0;
  background: none;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--brand-neutral);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  padding: 32px 28px 24px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 260px;
  max-width: 360px;
  transition: box-shadow .15s, transform .14s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(95,201,194,0.13);
  transform: translateY(-3px) 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;
  background: var(--brand-gentle-blue);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(211,236,249,.17);
  margin-bottom: 20px;
  font-size: 1.04rem;
  color: var(--brand-dark-text);
  transition: box-shadow .14s, transform .12s;
}
.testimonial-card p {
  margin: 0 0 3px 0;
  font-style: italic;
  color: var(--brand-primary);
}
.testimonial-card span {
  color: var(--brand-secondary);
  font-weight: 500;
  margin-left: 8px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px 0 rgba(95,201,194,0.22);
  transform: translateY(-2px);
}

.feature-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--brand-gentle-yellow);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  padding: 26px 22px 18px 22px;
  min-width: 210px;
  max-width: 300px;
  margin-bottom: 8px;
  transition: box-shadow .17s, background .17s;
}
.feature-item img {
  width: 36px;
  height: 36px;
  margin-bottom: 2px;
  opacity: .88;
}
.feature-item h3 {
  font-size: 1.1rem;
  color: var(--brand-primary);
}
.feature-item p {
  color: var(--brand-dark-text);
  font-size: 1rem;
  margin-bottom: 0;
}
.feature-item:hover {
  box-shadow: 0 8px 32px 0 rgba(250,227,227,0.14);
  background: var(--brand-gentle-pink);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1.08rem;
}
.service-list li {
  background: var(--brand-gentle-violet);
  border-radius: 14px;
  padding: 22px 22px 16px 22px;
  color: var(--brand-dark-text);
  box-shadow: var(--shadow-soft);
  margin-bottom: 0;
  transition: box-shadow .12s, background .15s;
}
.service-list li strong { color: var(--brand-primary); }
.service-list li b { color: var(--brand-secondary); font-weight: 700;}
.service-list li:hover {
  background: var(--brand-gentle-green);
  box-shadow: 0 8px 22px 0 rgba(223,246,237,.16);
}

/* MESSAGE/THANK YOU PAGE */
.message.thank-you {
  min-height: 400px;
  background: linear-gradient(132deg, #F2F6FA 70%, #DBF6ED 100%);
  display: flex;
  align-items: center;
  border-radius: 40px;
  margin-top: 36px;
  box-shadow: 0 4px 28px 0 rgba(211,236,249,.09);
}

/* FOOTER */
footer {
  background: var(--brand-accent);
  margin-top: 48px;
  width: 100%;
  box-shadow: 0 -2px 16px rgba(95,201,194,0.09);
}
footer .container {
  padding-top: 32px;
  padding-bottom: 22px;
  display: flex;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.footer-nav, .legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-nav a, .legal-nav a {
  font-size: 1rem;
  color: var(--brand-primary);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: border .19s, color .15s;
}
.footer-nav a:hover, .legal-nav a:hover , .footer-nav a:focus, .legal-nav a:focus {
  border-bottom: 2px solid var(--brand-secondary);
  color: var(--brand-secondary);
}
.social-media-links {
  display: flex;
  gap: 12px;
  align-items: center;
}
.social-media-links img {
  width: 32px;
  height: 32px;
  opacity: .87;
  transition: opacity .13s, filter .13s;
  filter: grayscale(.07);
}
.social-media-links img:hover {
  opacity: 1;
  filter: grayscale(0) brightness(1.15);
}
.copyright {
  font-size: 0.97rem;
  color: #7a97b6;
  margin-top: 8px;
}

/* LEGAL SECTIONS */
.legal {
  width: 100%;
  background: var(--brand-gentle-blue);
  border-radius: 14px;
  padding: 36px 20px;
  box-shadow: var(--shadow-soft);
}
.legal ul {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1rem;
}

/* COOKIE BANNER & MODAL */
.cookie-consent-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  background: #fff6e0;
  box-shadow: 0 8px 32px rgba(0,51,89,0.13);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1200;
  max-width: 90vw;
  padding: 20px 34px 18px 28px;
  gap: 18px;
  font-size: 1rem;
  color: var(--brand-dark-text);
  border: 2px solid var(--brand-accent);
  animation: cookieBannerIn 0.65s cubic-bezier(.86,0,.07,1) 1;
}
@keyframes cookieBannerIn {
  0% { opacity: 0; transform: translateY(60px) translateX(-50%); }
  90% { opacity: 1; transform: translateY(-10px) translateX(-50%); }
  100% { opacity: 1; transform: translateY(0) translateX(-50%); }
}
.cookie-consent-buttons {
  display: flex;
  gap: 12px;
}
.cookie-button, .cookie-settings-button {
  padding: 9px 19px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.14s;
  margin-left: 0;
}
.cookie-button.accept {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  box-shadow: var(--shadow-soft);
}
.cookie-button.accept:hover,
.cookie-button.accept:focus {
  background: var(--brand-primary);
  color: #fff;
}
.cookie-button.reject {
  background: var(--brand-gentle-pink);
  color: var(--brand-primary);
  box-shadow: var(--shadow-soft);
}
.cookie-button.reject:hover,
.cookie-button.reject:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.cookie-settings-button {
  background: var(--brand-gentle-blue);
  color: var(--brand-primary);
  box-shadow: var(--shadow-soft);
}
.cookie-settings-button:hover,
.cookie-settings-button:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}

/* COOKIE MODAL POPUP */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33, 57, 72, 0.19);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalBgIn .4s cubic-bezier(.62,0,.23,1) 1;
}
@keyframes cookieModalBgIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 18px 60px rgba(0,51,89,0.15);
  padding: 34px 34px 20px 34px;
  max-width: 420px;
  width: 97vw;
  color: var(--brand-dark-text);
  position: relative;
  display: flex;
  flex-direction: column;
  font-size: 1.02rem;
  gap: 18px;
  animation: cookieModalIn .55s cubic-bezier(.51,0,.2,1) 1;
}
@keyframes cookieModalIn {
  0% { opacity: 0; transform: translateY(120px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--brand-primary);
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--brand-secondary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--brand-gentle-green);
  border-radius: 13px;
  padding: 13px 17px;
  font-size: 1rem;
  font-weight: 500;
}
.cookie-category.disabled {
  opacity: 0.7;
}
.cookie-category label {
  user-select: none;
  font-family: 'Montserrat', Arial, sans-serif;
}
input[type="checkbox"].cookie-toggle {
  appearance: none;
  width: 22px;
  height: 22px;
  background: #EDEDED;
  border: 1.5px solid #A3C6CE;
  border-radius: 50%;
  position: relative;
  transition: background .17s, border .17s;
  cursor: pointer;
}
input[type="checkbox"].cookie-toggle:checked {
  background: var(--brand-secondary);
  border-color: var(--brand-secondary);
}
input[type="checkbox"].cookie-toggle:checked::after {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  background: var(--brand-primary);
  border-radius: 50%;
  position: absolute;
  top: 4px;
  left: 4px;
}

.cookie-modal-footer {
  margin-top: 14px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-footer button {
  min-width: 92px;
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
  width: 9px;
  background: #F2F6FA;
}
::-webkit-scrollbar-thumb {
  background: #E2E6EC;
  border-radius: 6px;
}

/* RESPONSIVENESS */
@media (max-width: 1200px) {
  .container { max-width: 99vw;}
  .feature-grid, .card-container {justify-content: flex-start;}
}
@media (max-width: 900px) {
  .feature-grid, .content-grid, .card-container {
    gap: 18px;
  }
  .feature-item, .card { min-width: 160px; max-width: 98vw;}
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 8px;
    min-height: 56px;
  }
  .hero {
    border-radius: 0 0 22px 22px / 0 0 18px 18px;
  }
  .hero .container {
    padding: 0 6px;
    min-height: 140px;
  }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.18rem; }
  .section, .features, .about, .services, .testimonials, .contact, .services-detail, .workshop-angebote, .leistungen, .support-leistungen {
    margin-bottom: 34px;
    padding: 18px 6px;
  }
  .feature-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .feature-item, .card {
    min-width: 0;
    max-width: 100%;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .cookie-consent-banner {
    max-width: 97vw;
    width: 97vw;
    left: 4%;
    padding: 13px 12px;
    font-size: 0.98rem;
    flex-direction: column;
    gap: 14px;
  }
  .cookie-consent-buttons {
    flex-direction: row;
    gap: 6px;
  }
  .cookie-modal {
    padding: 16px 9px 16px 9px;
  }
}
@media (max-width: 568px) {
  .logo img { height: 34px;}
  .main-nav {font-size: 0.97rem;}
  .footer-nav, .legal-nav {
    flex-direction: column;
    gap: 8px;
  }
  footer .container {
    padding-top: 14px;
    padding-bottom: 10px;
  }
}

/* MISCELLANEOUS ELEMENTS */
ul, ol {
  margin-top: 8px;
  margin-bottom: 10px;
  padding-left: 16px;
  color: var(--brand-dark-text);
}
ul li, ol li {
  margin-bottom: 6px;
}

/* FOCUS STATES FOR ACCESSIBILITY */
a, button, .cta.primary, .cookie-button, .cookie-settings-button, .cookie-modal-close {
  outline: none;
}
a:focus-visible, button:focus-visible, .cta.primary:focus-visible, .cookie-modal-close:focus-visible {
  outline: 2px dashed var(--brand-secondary);
  outline-offset: 2px;
}

/* ANIMATIONS ON APPEARANCE */
.section, .features, .testimonials, .contact, .about, .services, .workshop-angebote, .services-detail {
  animation: fadeInSection .5s cubic-bezier(.49, .12, .64, 1) 1;
}
@keyframes fadeInSection {
  0% { opacity: 0; transform: translateY(60px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* FORBIDDEN GRID PROPERTIES NOT USED */