/* =============================================
   RESET & BASE STYLES
============================================= */
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.6;
  min-height: 100vh;
  background: #FCFAF9;
  color: #2C3E50;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border-radius: 0;
  outline: none;
}
a {
  color: inherit;
  text-decoration: none;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  text-align: left;
  padding: 12px 8px;
  font-size: 16px;
}

/* =============================================
   BRAND COLORS & FONT FAMILIES (SOFT PASTEL)
============================================= */
:root {
  --primary: #2C3E50;
  --secondary: #B3C0A3;
  --accent: #F6D7B0;
  --pastel-blue: #BFD7ED;
  --pastel-pink: #F7CAD7;
  --pastel-green: #C9E4DE;
  --pastel-yellow: #FFF6CB;
  --pastel-lavender: #EAD7F7;
  --white: #FFFFFF;
  --body-bg: #FCFAF9;
  --muted: #A8A6A3;
  --shadow: 0 4px 20px 0 rgba(176, 192, 177, 0.13), 0 1.5px 8px rgba(236, 195, 180, 0.11);
  --radius: 20px;
  --transition: 0.23s cubic-bezier(.65,.05,.36,1);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* =============================================
   TYPE SCALE & FONT STYLES
============================================= */
h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  margin-bottom: 6px;
}
p, li, td, th, address, dl, dd, dt {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--primary);
  line-height: 1.75;
}
p {
  margin-bottom: 16px;
}
.subheadline {
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--primary);
  margin-bottom: 20px;
  font-family: var(--font-body);
}
small {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* =============================================
   LAYOUT CONTAINERS & SPACING (FLEXBOX ONLY)
============================================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  padding: 24px 20px;
}
.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: center;
  gap: 20px;
  background: var(--pastel-lavender);
  padding: 24px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  min-width: 270px;
  max-width: 390px;
  flex: 1 1 300px;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1.5px solid #EFEAF9;
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.08rem;
  margin-bottom: 6px;
}
.testimonial-author {
  font-size: 0.98rem;
  color: var(--primary);
  opacity: 0.9;
  text-align: right;
  font-style: italic;
}
.star-rating {
  display: flex;
  align-items: center;
  gap: 2px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ------------------------------------------
   HERO SECTION (SOFT GRADIENT PASTEL)
------------------------------------------ */
.hero-section {
  background: linear-gradient(135deg, var(--pastel-pink) 0%, var(--pastel-blue) 100%);
  padding: 70px 0 60px 0;
  border-radius: 0 0 48px 48px;
  margin-bottom: 60px;
}
.hero-section .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-section .content-wrapper {
  align-items: center;
  gap: 28px;
  text-align: center;
}
.hero-section h1 {
  font-size: 2.6rem;
  color: var(--primary);
  letter-spacing: -0.03em;
}
.hero-section .btn-primary {
  margin-top: 8px;
}

/* ------------------------------------------
   FEATURES GRID (INDEX PAGE)
------------------------------------------ */
.features-section {
  background: var(--pastel-green);
  border-radius: var(--radius);
  margin-bottom: 64px;
  box-shadow: var(--shadow);
  padding: 50px 0 45px 0;
}
.features-section .container {
  flex-direction: column;
  gap: 18px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  padding: 18px 0 0 0;
}
.feature-grid li {
  flex: 1 1 175px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 180px;
  max-width: 250px;
  padding: 24px 16px;
  text-align: center;
  margin-bottom: 0;
  transition: box-shadow var(--transition), transform var(--transition);
  border: 1.5px solid #EAFAEB;
}
.feature-grid li img {
  width: 38px;
  margin-bottom: 8px;
}
.feature-grid li h3 {
  margin-top: 3px;
  margin-bottom: 10px;
  font-size: 1.12rem;
}
.feature-grid li:hover {
  box-shadow: 0 8px 40px 0 rgba(176, 192, 177, 0.17);
  transform: translateY(-7px);
}

/* ------------------------------------------
   CTA SECTION
------------------------------------------ */
.cta-section {
  background: linear-gradient(90deg, var(--pastel-yellow) 10%, var(--accent) 90%);
  border-radius: var(--radius);
  margin-bottom: 60px;
  padding: 45px 0 45px 0;
}
.cta-section .content-wrapper {
  align-items: center;
  gap: 14px;
  text-align: center;
}
.cta-section h2 {
  color: var(--primary);
}

/* ------------------------------------------
   BUTTONS (SOFT PASTEL)
------------------------------------------ */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.1rem;
  padding: 12px 32px;
  border-radius: 40px;
  border: none;
  box-shadow: 0 2px 10px rgba(246, 215, 176, 0.17);
  transition: box-shadow var(--transition), background var(--transition), color var(--transition), transform var(--transition);
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 8px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--pastel-blue);
  color: var(--primary);
  box-shadow: 0 6px 32px rgba(191,215,237,0.18);
  transform: translateY(-2px) scale(1.03);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 40px;
  padding: 11px 26px;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--pastel-lavender);
  color: var(--primary);
  box-shadow: 0 5px 18px rgba(234, 215, 247, 0.18);
}

/* =============================================
   NAVIGATION & HEADER (MOBILE + DESKTOP)
============================================= */
header {
  background: var(--white);
  height: 72px;
  display: flex;
  align-items: center;
  border-bottom: 1.5px solid #F1F2F5;
  box-shadow: 0 2px 16px rgba(191,215,237,0.07);
  position: sticky;
  top: 0;
  z-index: 80;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  height: 72px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 11px;
  border-radius: 24px;
  transition: background var(--transition), color var(--transition);
  color: var(--primary);
  opacity: 0.85;
}
header nav a.active, header nav a[aria-current="page"] {
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
}
header nav a:hover, header nav a:focus {
  background: var(--pastel-lavender);
  color: var(--primary);
  opacity: 1;
}
header nav a.btn-primary {
  margin-left: 14px;
}
header nav img {
  height: 38px;
  margin-right: 12px;
}

/* MOBILE NAVIGATION (BURGER MENU) */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  background: var(--accent);
  border: none;
  color: var(--primary);
  font-size: 2.2rem;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  box-shadow: 0 3px 16px rgba(246, 215, 176, 0.15);
  cursor: pointer;
  z-index: 120;
  transition: background var(--transition);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--pastel-lavender);
  color: var(--primary);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100vw;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, var(--pastel-blue) 45%, var(--pastel-pink) 100%);
  box-shadow: 0 12px 60px 0 rgba(176, 192, 177, 0.13);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(.65,.05,.36,1), opacity 0.25s;
  overflow-y: auto;
}
.mobile-menu.open {
  right: 0;
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  margin: 25px 25px 16px 0;
  font-size: 2rem;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  box-shadow: 0 2px 12px rgba(246, 215, 176, 0.11);
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--pastel-blue);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  align-items: flex-start;
  padding: 0 34px;
}
.mobile-nav a {
  width: 100%;
  font-size: 1.18rem;
  padding: 15px 0;
  border-radius: 28px;
  color: var(--primary);
  background: none;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
  margin-bottom: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-lavender);
  color: var(--primary);
}

/* Media queries for nav */
@media (max-width: 980px) {
  header nav {
    gap: 6px;
    font-size: 0.99rem;
  }
  .container { max-width: 96vw; }
}
@media (max-width: 820px) {
  .feature-grid, .card-container, .content-grid {
    justify-content: center;
  }
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media (min-width: 901px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
}

/* =============================================
   FOOTER
============================================= */
footer {
  background: var(--pastel-green);
  border-radius: 44px 44px 0 0;
  padding: 38px 0 22px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
}
footer nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 8px;
}
footer nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--primary);
  opacity: 0.85;
  padding: 7px 12px;
  border-radius: 16px;
  transition: background var(--transition), color var(--transition);
}
footer nav a:hover, footer nav a:focus {
  background: var(--accent);
  color: var(--primary);
  opacity: 1;
}
footer address {
  font-size: 0.96rem;
  color: var(--primary);
  opacity: 0.8;
  margin-top: 8px;
  font-style: normal;
}

/* =============================================
   TABLES (PREISE)
============================================= */
table {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 18px;
  overflow-x: auto;
  min-width: 320px;
  font-size: 1rem;
}
thead {
  background: var(--pastel-pink);
  border-radius: var(--radius) var(--radius) 0 0;
}
th {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary);
  padding: 12px 10px;
}
td {
  border-top: 1px solid #F3E6E7;
}
/* =============================================
   GALLERY CARDS & IMAGES
============================================= */
.galerie .feature-grid,
.galerie .content-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.galerie .feature-grid li,
.galerie .content-wrapper ul li {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 14px;
  min-width: 185px;
  max-width: 240px;
  flex: 1 1 170px;
  text-align: center;
  margin-bottom: 0;
  border: 1.5px solid #EFEAF8;
}
.galerie .feature-grid li img {
  margin-bottom: 8px;
}

/* =============================================
   FAQ & DL STYLES
============================================= */
dt {
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: 4px;
  margin-top: 18px;
  color: var(--primary);
}
dd {
  margin-left: 0;
  margin-bottom: 8px;
  color: var(--primary);
}

/* =============================================
   MISC CARDS (e.g. TEAM, USP, TEXT BLOCKS)
============================================= */
.text-section {
  background: var(--pastel-yellow);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 22px;
  margin-bottom: 22px;
}
.content-wrapper > div {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 18px;
  margin-bottom: 0;
}
@media (max-width: 700px) {
  .content-wrapper > div {
    padding: 14px 8px;
  }
}
.content-wrapper ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
}
.content-wrapper ul li img {
  width: 26px;
  margin-top: 2px;
}

/* =============================================
   RESPONSIVE & FLEXBOX MEDIA QUERIES
============================================= */
@media (max-width: 1024px) {
  .container {
    padding: 0 7vw;
  }
  .feature-grid, .card-container {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 9px;
  }
  .hero-section h1 {
    font-size: 2.0rem;
  }
  .section, .hero-section, .features-section, .cta-section {
    padding-left: 8px;
    padding-right: 8px;
  }
  .content-wrapper, .footer .container {
    flex-direction: column;
    gap: 13px;
    align-items: stretch;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 17px;
    align-items: stretch;
  }
  .testimonial-card {
    min-width: 85vw;
    max-width: 98vw;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding-top: 35px;
    padding-bottom: 28px;
    border-radius: 0 0 28px 28px;
  }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.22rem; }
  .feature-grid li, .card {
    padding: 14px 7px;
  }
}

/* =============================================
   HOVER & MICRO-INTERACTIONS
============================================= */
.card, .feature-grid li, .testimonial-card, .content-wrapper > div {
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .feature-grid li:hover, .testimonial-card:hover, .content-wrapper > div:hover {
  box-shadow: 0 10px 28px rgba(176, 192, 177, 0.17);
  transform: translateY(-4px) scale(1.013);
}

/* =============================================
   COOKIE CONSENT BANNER & MODAL
============================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: linear-gradient(90deg, var(--pastel-yellow) 70%, var(--pastel-blue) 100%);
  box-shadow: 0 -6px 20px rgba(191,215,237,0.09);
  padding: 24px 16px 22px 16px;
  border-top-left-radius: 26px;
  border-top-right-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  z-index: 2000;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.35s, opacity 0.33s;
}
.cookie-banner.closed {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-message {
  font-size: 1.025rem;
  color: var(--primary);
  font-family: var(--font-body);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  padding: 10px 22px;
  border-radius: 32px;
  border: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin: 0 3px;
  outline: none;
  background: var(--accent);
  color: var(--primary);
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
  box-shadow: 0 1px 6px rgba(246, 215, 176, 0.15);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .cookie-settings-btn {
  background: var(--pastel-lavender);
  color: var(--primary);
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: var(--pastel-pink);
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44, 62, 80, 0.25);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.4s;
}
.cookie-modal-overlay.closed {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: var(--white);
  border-radius: 30px;
  max-width: 410px;
  width: 94vw;
  box-shadow: 0 10px 48px rgba(176, 192, 177, 0.17), 0 4px 18px rgba(234, 215, 247, 0.12);
  padding: 34px 28px 18px 28px;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadeInModal 0.39s cubic-bezier(.65,.05,.36,1);
}
@keyframes fadeInModal {
  from { opacity: 0; transform: translateY(60px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h3 {
  font-size: 1.28rem;
  color: var(--primary);
  font-family: var(--font-display);
  margin-bottom: 11px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}
.cookie-modal .cookie-category label {
  font-family: var(--font-body);
  font-size: 1.04rem;
  color: var(--primary);
  margin-bottom: 0;
}
.cookie-modal .cookie-toggle {
  width: 40px;
  height: 22px;
  background: var(--muted);
  border-radius: 18px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}
.cookie-modal .cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .cookie-slider {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: var(--pastel-blue);
  border-radius: 50%;
  transition: left 0.25s, background 0.2s;
}
.cookie-modal .cookie-toggle input:checked + .cookie-slider {
  left: 20px;
  background: var(--accent);
}
.cookie-modal .cookie-buttons {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 1.5rem;
  background: none;
  color: var(--primary);
  border: none;
  cursor: pointer;
  transition: color var(--transition);
}
.cookie-modal .cookie-close:hover, .cookie-modal .cookie-close:focus {
  color: var(--pastel-pink);
}

@media (max-width: 610px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 11px;
    padding: 18px 6px 18px 6px;
  }
  .cookie-banner .cookie-message {
    font-size: 0.99rem;
    margin-bottom: 4px;
  }
  .cookie-modal {
    padding: 18px 10px 12px 10px;
  }
}

/* =============================================
   UTILITIES & MISC
============================================= */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 7px !important; }
.mb-2 { margin-bottom: 14px !important; }
.mb-3 { margin-bottom: 21px !important; }
.mt-2 { margin-top: 14px !important; }
.pt-2 { padding-top: 14px !important; }
.hide { display: none !important; }

/* =============================================
   PRINT (OPTIONAL)
============================================= */
@media print {
  .cookie-banner, .mobile-menu, .mobile-menu-toggle, header, footer { display: none !important; }
  body { background: #fff; color: #111; }
  a { color: #111 !important; text-decoration: underline; }
}
