/* =====================
   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,
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;
}
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F7F7FA;
  color: #16233B;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #35B8DF;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #16233B;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
}
strong, b {
  font-weight: bold;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(22,35,59,0.06);
  overflow: hidden;
}
th, td {
  padding: 16px 12px;
  text-align: left;
}
th {
  background: #16233B;
  color: #fff;
  font-weight: 600;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 18px;
}
td {
  border-bottom: 1px solid #E3E7EB;
  font-size: 16px;
}
tr:last-child td {
  border-bottom: none;
}

/* ======================
   TYPOGRAPHY
   ====================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #16233B;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 10px;
}
p, li {
  font-size: 1rem;
  color: #2A3450;
  margin-bottom: 12px;
  line-height: 1.7;
}
.section p:last-child, .section ul:last-child, .text-section p:last-child { margin-bottom: 0; }

/* ============== 
   CONTAINERS & LAYOUT
   ============== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.text-section {
  gap: 16px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(22,35,59,0.09);
  margin-bottom: 20px;
  padding: 28px 24px;
  flex: 1 1 320px;
  position: relative;
  transition: box-shadow 0.25s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 6px 28px rgba(53,184,223,0.13), 0 2px 12px rgba(22,35,59,0.12);
  transform: translateY(-3px) scale(1.016);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  gap: 15px;
  padding: 28px 24px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(53,184,223,0.07);
  flex: 1 1 240px;
  transition: box-shadow 0.2s, transform 0.14s;
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
}
.feature-item:hover {
  box-shadow: 0 4px 22px rgba(22,35,59,0.13), 0 2px 8px rgba(53,184,223,0.07);
  transform: translateY(-2px);
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  justify-content: flex-start;
}
.service-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(22,35,59,0.06);
  padding: 28px 20px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.19s, transform 0.12s;
  margin-bottom: 20px;
}
.service-item img {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
}
.service-item:hover {
  box-shadow: 0 6px 22px rgba(53,184,223,0.13), 0 2px 8px rgba(22,35,59,0.11);
  transform: translateY(-1.5px);
}
.service-price {
  font-weight: 700;
  color: #35B8DF;
  margin-top: 8px;
  font-size: 1rem;
}
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 24px;
}
.service-list span {
  font-size: 1rem;
  margin-left: 12px;
  color: #35B8DF;
  font-weight: 500;
}
.service-links {
  margin-top: 18px;
}

/* Testimonials */
.testimonial-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 22px;
  border-radius: 10px;
  background: #fff;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(22,35,59,0.08);
  flex: 1 1 290px;
  min-width: 240px;
  transition: box-shadow 0.18s, transform 0.11s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 18px rgba(53,184,223,0.16), 0 2px 10px rgba(22,35,59,0.10);
  transform: translateY(-2px);
}
.testimonial-card p {
  color: #2A3450;
  font-size: 1rem;
  margin-bottom: 7px;
  font-style: italic;
  line-height: 1.7;
}
.testimonial-meta {
  font-size: 0.97em;
  color: #466384;
  font-weight: 500;
  margin-top: -7px;
}
.rating-summary {
  margin-top: 18px;
  font-weight: 600;
  color: #16233B;
  font-size: 1.1rem;
}

/* ===========
   HERO SECTION
   =========== */
.hero {
  padding: 64px 0 48px 0;
  background: #16233B;
  color: #fff;
  margin-bottom: 48px;
  border-radius: 0 0 40px 40px;
}
.hero .content-wrapper {
  max-width: 700px;
  gap: 20px;
  align-items: flex-start;
}
.hero h1 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.hero p {
  color: #E3E7EB;
  font-size: 1.13rem;
  margin-bottom: 20px;
}
.hero .btn.primary {
  margin-top: 8px;
}

/* =============
   BUTTONS
   ============= */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  background: #E3E7EB;
  color: #16233B;
  font-family: 'Roboto', Arial, sans-serif;
  letter-spacing: 0.01em;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.19s, box-shadow 0.14s, color 0.14s, transform 0.14s;
  box-shadow: 0 1px 4px rgba(22,35,59,0.08);
  margin-right: 14px;
  margin-bottom: 10px;
}
.btn.primary {
  background: #35B8DF;
  color: #fff;
}
.btn:hover, .btn:focus {
  background: #16233B;
  color: #fff;
  box-shadow: 0 4px 18px rgba(53,184,223,0.17), 0 1px 7px rgba(22,35,59,0.10);
  transform: translateY(-1px) scale(1.02);
  outline: none;
}
.btn.primary:hover, .btn.primary:focus {
  background: #1b3358;
}

/* ===================
   NAVIGATION
   =================== */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(22,35,59,0.07);
  padding-top: 5px;
  padding-bottom: 5px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img {
  height: 38px;
}
.main-nav {
  display: flex;
  gap: 20px;
  flex: 1 1 auto;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  color: #16233B;
  font-size: 1.05rem;
  padding: 8px 0;
  border-bottom: 2.5px solid transparent;
  transition: color 0.15s, border-bottom 0.14s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: #35B8DF;
  border-bottom: 2.5px solid #35B8DF;
  outline: none;
}

/* Hide desktop main-nav & CTA on mobile */
@media (max-width: 980px) {
  .main-nav,
  header .btn.primary {
    display: none !important;
  }
}

/* Mobile burger button */
.mobile-menu-toggle {
  display: flex;
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1002;
  background: #fff;
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  color: #16233B;
  box-shadow: 0 2px 12px rgba(22,35,59,0.12);
  cursor: pointer;
  transition: background 0.14s, transform 0.13s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #16233B;
  color: #fff;
  transform: scale(1.06);
  outline: none;
}
@media (min-width: 981px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(22,35,59,0.95);
  z-index: 1001;
  transform: translateX(102vw);
  transition: transform 0.35s cubic-bezier(.65,.1,.49,1.18);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.37s cubic-bezier(.58,.05,.49,1.17);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.1rem;
  border: none;
  align-self: flex-end;
  margin: 18px 22px 10px 0;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #35B8DF;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
  padding: 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.22rem;
  padding: 10px 0;
  font-weight: 600;
  border-bottom: 1.5px solid transparent;
  transition: border 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #35B8DF;
  border-bottom: 1.5px solid #35B8DF;
  outline: none;
}

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


/* ==============
   FOOTER
   ============== */
footer {
  background: #16233B;
  color: #fff;
  padding: 38px 0 16px 0;
  margin-top: 64px;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -1px 6px rgba(22,35,59,0.10);
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #35B8DF;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.11s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  outline: none;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #E0EEF6;
  font-size: 0.98rem;
}
.footer-contact a {
  color: #35B8DF;
}
.footer-legal {
  margin-top: 10px;
  color: #9aadc7;
  font-size: 0.97em;
  font-weight: 400;
}


/* ==============
   BLOG
   ============== */
.featured-posts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}
.featured-posts li {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(22,35,59,0.07);
  padding: 24px 18px;
  transition: box-shadow 0.18s, transform 0.12s;
}
.featured-posts li:hover {
  box-shadow: 0 5px 20px rgba(53,184,223,0.13), 0 2px 7px rgba(22,35,59,0.10);
  transform: scale(1.017);
}
.categories-list {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: #16233B;
}
.categories-list ul {
  display: flex;
  gap: 14px;
  list-style: none;
}
.categories-list li {
  background: #e7f7fc;
  color: #16233B;
  border-radius: 12px;
  padding: 3px 13px;
  font-size: 0.98rem;
  font-weight: 500;
}

.newsletter-signup {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #E7F7FC;
  border-radius: 12px;
  padding: 22px 18px;
  margin-top: 10px;
}
.newsletter-signup ul {
  margin-left: 20px;
}

/* ===============
   PRODUCTS
   =============== */
.product-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}
.product-item {
  flex: 1 1 240px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(22,35,59,0.06);
  padding: 27px 20px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.12s;
}
.product-item:hover {
  box-shadow: 0 4px 19px rgba(53,184,223,0.13), 0 2px 10px rgba(22,35,59,0.10);
  transform: scale(1.015);
}


/* ==============
   FAQ ACCORDION
   ============== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(53,184,223,0.07);
  padding: 18px 16px;
  margin-bottom: 8px;
  transition: box-shadow 0.15s;
}
.faq-item h3 {
  font-size: 1.12rem;
  margin-bottom: 7px;
  color: #16233B;
  cursor: pointer;
}
.faq-item .faq-answer {
  font-size: 0.98rem;
  color: #2A3450;
  margin-bottom: 0;
}
.faq-item.open {
  box-shadow: 0 4px 18px rgba(53,184,223,0.11);
}

/* ==================
   WORKSHOP DETAILS
   ================== */
.workshop-details {
  margin: 18px 0 13px 0;
  padding: 18px 16px;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(53,184,223,0.09);
}
.workshop-price {
  font-weight: 700;
  color: #35B8DF;
  margin-top: 10px;
  font-size: 1.08rem;
}


/* ===================
   CONTACT DETAILS
   =================== */
.contact-details {
  margin-top: 12px;
  margin-bottom: 8px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(22,35,59,0.07);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #2A3450;
  font-size: 1.03rem;
}
.contact-details a {
  color: #35B8DF;
  word-break: break-all;
}

/* ===============
   RATIOS & TABLES
   =============== */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.45rem;
  }
  .hero {
    padding: 42px 0 28px 0;
    border-radius: 0 0 18px 18px;
    margin-bottom: 34px;
  }
  .content-wrapper, .card-container, .feature-grid, .testimonial-group, .product-highlights, .service-grid {
    flex-direction: column !important;
  }
  .footer-nav, .footer-contact, .categories-list ul {
    flex-direction: column;
    gap: 6px;
  }
  footer .content-wrapper {
    gap: 16px;
  }
  .section {
    margin-bottom: 42px;
    padding: 28px 7px;
  }
  .btn {
    font-size: 0.97rem;
    padding: 12px 20px;
  }
  .testimonial-card, .feature-item, .product-item, .service-item {
    min-width: 0;
    width: 100%;
    margin-bottom: 20px;
  }
  .mobile-menu {
    font-size: 1.04rem;
    padding-top: 38px;
  }
  .mobile-nav {
    padding: 24px 18px;
  }
}

@media (max-width: 530px) {
  .container {
    padding: 0 7px;
  }
  .mobile-menu-toggle {
    top: 14px;
    right: 10px;
    width: 41px; height: 41px;
    font-size: 1.28rem;
  }
}

/* ======================
   COOKIE CONSENT BANNER
   ====================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1100;
  background: #fff;
  color: #16233B;
  padding: 26px 18px 18px 18px;
  box-shadow: 0 -2px 12px rgba(22,35,59,0.17);
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  transition: transform 0.28s cubic-bezier(.80,.15,.61,1.07), opacity 0.19s;
  transform: translateY(150%);
  opacity: 0;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner p {
  margin-bottom: 3px;
  color: #2A3450;
  font-size: 1.07rem;
  text-align: center;
}
.cookie-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.cookie-banner .btn {
  padding: 10px 19px;
  font-size: 0.96rem;
  margin-right: 0;
}
.cookie-banner .btn.primary {
  background: #35B8DF;
  color: #fff;
}
.cookie-banner .btn.reject {
  background: #E3E7EB;
  color: #16233B;
  font-weight: 600;
}
.cookie-banner .btn.reject:hover, .cookie-banner .btn.reject:focus {
  background: #16233B;
  color: #fff;
}
/* ============================
   COOKIE SETTINGS MODAL
   ============================ */
.cookie-modal {
  position: fixed;
  top: 0;left: 0;right: 0;bottom: 0;
  z-index: 1200;
  background: rgba(22,35,59,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  color: #16233B;
  border-radius: 16px;
  max-width: 420px;
  width: 95%;
  padding: 32px 24px 18px 24px;
  box-shadow: 0 2px 28px rgba(22,35,59,0.20);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  animation: cookieModalIn 0.38s cubic-bezier(.58,.04,.49,1.07);
}
@keyframes cookieModalIn {
  0% {transform: scale(0.89) translateY(10px); opacity: 0.2;}
  100% {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 18px;
  border: none;
  background: none;
  font-size: 1.7rem;
  color: #16233B;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 9999;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #35B8DF;
  outline: none;
}
.cookie-categories {
  width: 100%;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  margin-bottom: 10px;
}
.cookie-category .toggle {
  width: 36px; height: 20px;
  border-radius: 12px;
  background: #E3E7EB;
  position: relative;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-category .toggle.enabled {
  background: #35B8DF;
}
.cookie-category .toggle .knob {
  position: absolute;
  left: 2px; top: 2.5px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.19s;
}
.cookie-category .toggle.enabled .knob {
  left: 19px;
}
.cookie-category label {
  font-size: 1.02rem;
  color: #2A3450;
  font-weight: 500;
}
.cookie-category small {
  color: #707B91;
  font-size: 0.91rem;
  margin-left: 4px;
}

/* Essential cookie toggle - always on */
.cookie-category.essential .toggle {
  opacity: 0.5;
  pointer-events: none;
}
.cookie-category.essential label:after {
  content: '(immer aktiviert)';
  color: #707B91;
  font-size: 0.91rem;
  margin-left: 7px;
}

.cookie-modal .btn {
  margin-top: 12px;
}

@media (max-width: 520px) {
  .cookie-modal-content {
    padding: 18px 10px 10px 10px;
    min-width: 0;
    width: 99%;
  }
}

/* =================
   ANIMATIONS
   ================= */
.btn, .mobile-menu-toggle, .card, .testimonial-card, .feature-item, .service-item, .product-item, .faq-item, .cookie-banner, .cookie-modal-content {
  transition-timing-function: cubic-bezier(.6,.06,.53,1.13);
}

/* GENERAL UTILS */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.pb-1 { padding-bottom: 8px; }
.pb-2 { padding-bottom: 16px; }

/* Hide cookie banner for print */
@media print { .cookie-banner { display: none !important; } }
