/* ------------------------------------------------------
   CSS RESET & BASELINE NORMALIZATION 
------------------------------------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #2C3140;
  background: #F8FAFD;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
ul, ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
}
::-webkit-input-placeholder { color: #93A1B7; }
::-moz-placeholder { color: #93A1B7; }
:-ms-input-placeholder { color: #93A1B7; }
::placeholder { color: #93A1B7; }

/* ------------------------------------------------------
   BRAND COLORS, TYPOGRAPHY, UTILITIES
------------------------------------------------------- */
:root {
  --primary: #3B475E;
  --secondary: #9EB2CC;
  --accent: #F6E3C5;
  --gray-100: #F8FAFD;
  --gray-200: #E7ECF0;
  --gray-300: #D1DAE3;
  --gray-400: #A0AEC0;
  --gray-500: #637193;
  --white: #fff;
  --black: #1a1a1a;
  --focus: #224282;
  --shadow: 0 2px 16px rgba(59,71,94,0.08);
  --border-radius: 10px;
  --transition: 0.22s cubic-bezier(.6,.4,.2,1);
}

@font-face {
  font-family: 'Montserrat';
  font-weight: 700;
  src: local('Montserrat'), url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap');
}
@font-face {
  font-family: 'Open Sans';
  font-weight: 400;
  src: local('Open Sans'), url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  line-height: 1.21;
}
h1 { font-size: 2.375rem; margin-bottom: 24px; }
h2 { font-size: 1.75rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: .95rem; }

.subheadline {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--gray-500);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 18px;
}

strong, b { font-weight: 700; }
i, em { font-style: italic; }

/* ------------------------------------------------------
   LAYOUT CONTAINERS, FLEX SPACING, WRAPPERS
------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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: var(--gray-100);
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(59,71,94,.09);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.testimonial-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 4px 18px rgba(59,71,94,.16);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.cta-bar {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

/* ------------------------------------------------------
   HEADER & NAVIGATION
------------------------------------------------------- */
header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 2px 10px rgba(59,71,94,0.04);
  position: sticky;
  top: 0;
  z-index: 97;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
header img {
  height: 44px;
  max-width: 165px;
  margin-right: 26px;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  opacity: 0.88;
  padding: 7px 12px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: var(--white);
  opacity: 1;
}
.cta-button {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--border-radius);
  padding: 12px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  border: none;
  box-shadow: 0 1.5px 8px rgba(59, 71, 94, 0.07);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
  outline: none;
  margin-left: 32px;
  letter-spacing: .02em;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 24px rgba(59, 71, 94, 0.10);
}

/* HAMBURGER BUTTON */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--white);
  font-size: 2rem;
  padding: 7px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  margin-left: 20px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--secondary);
}

/* ------------------------------------------------------
   MOBILE NAVIGATION
------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(59,71,94,0.98);
  z-index: 120;
  transition: transform 0.42s cubic-bezier(.85,.1,.35,1);
  transform: translateX(-110%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 36px;
  padding-left: 0;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--white);
  font-size: 2rem;
  border: none;
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 122;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 7px;
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
  background: var(--white);
}
.mobile-nav {
  margin-top: 52px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  padding-left: 38px;
}
.mobile-nav a {
  color: var(--white);
  font-size: 1.35rem;
  padding: 12px 0;
  font-family: 'Open Sans', Arial, sans-serif;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
  width: 92%;
  display: block;
  margin-bottom: 6px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}

@media (max-width: 1024px) {
  .main-nav, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
/* Prevent scrolling when menu open */
body.mobile-menu-active {
  overflow: hidden;
  touch-action: none;
}

/* ------------------------------------------------------
   HERO, CTA SECTIONS
------------------------------------------------------- */
.hero {
  background: linear-gradient(95deg, var(--secondary) 10%, var(--gray-100) 90%);
  padding: 60px 0 42px 0;
  box-shadow: 0 4px 30px rgba(59,71,94,.03);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
}
.hero .container, .cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.cta {
  background: var(--secondary);
  color: var(--white);
  border-radius: 18px;
  margin-top: 42px;
  margin-bottom: 40px;
  box-shadow: var(--shadow);
  padding: 40px 0;
}
.cta .content-wrapper {
  align-items: center; 
  gap: 18px;
  text-align: center;
}
.cta .cta-button {
  background: var(--primary);
  margin-top: 18px;
  color: var(--white);
}

/* ------------------------------------------------------
   FEATURES, SORTIMENT, FAQ, DIRECTIONS
------------------------------------------------------- */
.features, .sortiment, .faq, .about, .workshops, .galerie, .cookie-policy, .gdpr, .datenschutz, .terms, .kontakt, .danke {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}
.features .content-wrapper ul, .sortiment .content-wrapper ul, .faq .content-wrapper ul, .directions ul {
  margin-bottom: 20px;
}
.features .content-wrapper ul li, .sortiment .content-wrapper ul li, .faq .content-wrapper ul li, .directions ul li {
  list-style: disc inside;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.trust-signals ul {
  list-style: circle inside;
  color: var(--gray-500);
  margin-bottom: 0;
}
.trust-signals li {
  margin-bottom: 6px;
}
.faq-contact {
  background: var(--gray-100);
  border-left: 4px solid var(--secondary);
  border-radius: 7px;
  padding: 16px;
  margin-top: 8px;
  color: var(--gray-500);
  font-size: 1rem;
}

/* ------------------------------------------------------
   CARDS, TESTIMONIALS, TEAM HIGHLIGHT
------------------------------------------------------- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.team-highlight {
  background: var(--gray-100);
  border-radius: 8px;
  padding: 22px 16px;
  margin-bottom: 22px;
  box-shadow: 0 2px 7px rgba(59,71,94,.06);
}

/* ------------------------------------------------------
   FOOTER
------------------------------------------------------- */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 40px 0 12px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.footer-nav a {
  color: var(--secondary);
  font-size: 1rem;
  border-radius: 4px;
  padding: 6px 10px;
  transition: background var(--transition), color var(--transition);
  font-family: 'Open Sans', Arial, sans-serif;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
.footer-contact {
  margin-bottom: 16px;
  color: var(--gray-200);
  font-size: 0.98rem;
}
.footer-contact a {
  color: var(--accent);
  text-decoration: underline;
}
footer p {
  color: var(--gray-300);
  font-size: 0.92rem;
  margin-top: 8px;
}

/* -----------------------------------------------------
   COOKIE CONSENT BANNER
------------------------------------------------------ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 160;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 -2px 16px rgba(59,71,94,.19);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 24px 16px 18px 16px;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  will-change: transform;
  animation: cookie-slide-in 0.6s cubic-bezier(.56,.12,.44,1.2);
}
@keyframes cookie-slide-in {
  from { transform: translateY(110%) }
  to { transform: translateY(0) }
}
.cookie-banner .cookie-text {
  font-size: 1.03rem;
  line-height: 1.5;
  color: var(--primary);
  margin-bottom: 10px;
  text-align: center;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  border-radius: 6px;
  padding: 9px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: var(--secondary);
  color: var(--white);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  border: none;
  cursor: pointer;
}
.cookie-btn.accept {
  background: var(--primary);
}
.cookie-btn.reject {
  background: var(--gray-400);
}
.cookie-btn.settings {
  background: var(--accent);
  color: var(--primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px) scale(1.03);
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 165;
  background: rgba(59,71,94,0.56);
  align-items: center;
  justify-content: center;
  width: 100vw; height: 100vh;
}
.cookie-modal.open {
  display: flex;
  animation: fade-in 0.22s;
}
@keyframes fade-in {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal-content {
  background: var(--white);
  padding: 38px 24px 24px 24px;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(59,71,94,0.14);
  width: 98vw;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal-content h3 {
  color: var(--primary);
  margin-bottom: 9px;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  margin-bottom: 8px;
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--primary);
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: var(--gray-300);
  border-radius: 24px;
  transition: background .21s;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--secondary);
}
.cookie-slider:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  background: var(--white);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  transition: transform .2s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(18px);
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--gray-400);
  cursor: pointer;
  transition: color .19s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--secondary);
}

/* ------------------------------------------------------
   RESPONSIVE DESIGN (MOBILE-FIRST)
------------------------------------------------------- */
@media (max-width: 1024px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .hero, .cta, .section, .features, .about, .sortiment, .workshops, .galerie, .faq,
  .cookie-policy, .gdpr, .datenschutz, .terms, .kontakt, .danke {
    padding: 30px 8px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.18rem; }
  .hero, .cta {
    padding: 34px 0;
    border-radius: 0;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .text-image-section, .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .section, .features, .about, .sortiment, .workshops, .galerie, .faq,
  .cookie-policy, .gdpr, .datenschutz, .terms, .kontakt, .danke {
    margin-bottom: 36px;
    padding: 20px 4px;
  }
  .testimonial-card { gap: 12px; padding: 15px; }
}

@media (max-width: 540px) {
  header .container {
    height: auto;
    flex-direction: column;
    gap: 9px;
    align-items: stretch;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .hero .container, .cta .container { padding: 0 4px; }
  .container { padding-left: 4px; padding-right: 4px; }
  .footer-contact, .footer-nav { font-size: 0.88rem; }
}

/* ------------------------------------------------------
   VISUAL ELEMENTS: SHADOWS, BORDERS, EFFECTS
------------------------------------------------------- */
.card, .testimonial-card, .features, .about, .sortiment, .workshops, .galerie, .faq, .cookie-policy, .gdpr, .datenschutz, .terms, .kontakt, .danke {
  box-shadow: var(--shadow);
  border-radius: var(--border-radius);
}
.card {
  border: 1px solid var(--gray-200);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.card:hover, .card:focus-within {
  border-color: var(--secondary);
  box-shadow: 0 6px 22px rgba(59,71,94,.10);
}

/* List Item Disc for Legibility */
ul li::marker {
  color: var(--secondary);
}

/* Micro-interactions */
.cta-button:active, .cookie-btn:active {
  transform: scale(0.97);
}

/* Icon Styles */
p img, .directions img {
  display: inline;
  vertical-align: middle;
  margin-right: 8px;
  height: 1.1em;
}

/* ------------------------------------------------------
   ACCESSIBILITY/FOCUS STATES
------------------------------------------------------- */
a:focus, .cta-button:focus, .cookie-btn:focus, .mobile-menu-toggle:focus {
  outline: 2.5px solid var(--focus);
  outline-offset: 1.5px;
}

/* ------------------------------------------------------
   MISCELLANEOUS
------------------------------------------------------- */
::-webkit-scrollbar {
  width: 10px; background: var(--gray-100);
}
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--secondary); }

/* ------------------------------------------------------
   END OF FILE
------------------------------------------------------- */
