/* 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, main, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background: #FAF7F5;
  color: #374151;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  /* fallback color */
}
img,
svg {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}
a {
  color: #264653;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #F4A261;
}

ul, ol {
  list-style-type: disc;
  padding-left: 22px;
  margin-bottom: 12px;
}
li {
  margin-bottom: 8px;
}

/* Soft Pastel Palette */
:root {
  --primary: #264653;
  --secondary: #F4A261;
  --accent: #E9C46A;
  --pastel-blue: #A8DADC;
  --pastel-green: #D9EDC2;
  --pastel-pink: #FAD2E1;
  --pastel-lavender: #EDE7F6;
  --pastel-peach: #FFE0B2;
  --pastel-base: #FAF7F5;
  --text-dark: #2A2933;
  --text-mid: #444a5a;
  --white: #fff;
  --shadow: 0 6px 32px rgba(60, 40, 40, 0.07);
  --radius: 18px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: .01em;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.6rem;
  line-height: 1.2;
}
h3 {
  font-size: 1.18rem;
  line-height: 1.25;
}
h4, h5, h6 {
  font-size: 1rem;
}
p {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 18px;
}
strong {
  font-weight: bold;
  color: var(--primary);
}

/* Container and Layouts */
.container {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--pastel-base);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  /* Soft touch */
}

@media (max-width: 768px) {
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .section {
    padding: 26px 6px;
    margin-bottom: 32px;
  }
  .content-wrapper {
    gap: 10px;
  }
}

/* Header & Navigation */
header {
  background: var(--white);
  border-bottom: 1px solid #EDE7F6;
  box-shadow: 0 1px 8px rgba(60,70,90,0.04);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo img {
  height: 48px;
  width: auto;
  margin-right: 12px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: 18px;
}
.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: var(--primary);
  padding: 8px 4px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
.button.primary {
  background: var(--secondary);
  color: var(--primary);
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.08rem;
  padding: 12px 28px;
  border-radius: 30px;
  box-shadow: 0 2px 12px rgba(233,196,106,0.15);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  margin-left: 22px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}
.button.primary:hover, .button.primary:focus {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 2px 24px rgba(233,196,106,0.22);
}
.button.secondary {
  background: var(--pastel-blue);
  color: var(--primary);
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  padding: 11px 20px;
  border-radius: 27px;
  box-shadow: 0 2px 12px rgba(168,218,220,0.13);
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  font-weight: 600;
  text-align: center;
  margin-top: 6px;
  margin-bottom: 8px;
  cursor: pointer;
}
.button.secondary:hover, .button.secondary:focus {
  background: var(--pastel-pink);
  color: var(--primary);
  box-shadow: 0 2px 24px rgba(250,210,225,0.19);
}

.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--primary);
  cursor: pointer;
  display: none;
  margin-left: 20px;
  padding: 4px 9px;
  border-radius: 9px;
  line-height: 1;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--accent);
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 830px) {
  .main-nav, .button.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(251, 248, 255, .98);
  backdrop-filter: blur(3px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 30px;
  transform: translateX(110vw);
  transition: transform 0.35s cubic-bezier(.4,.85,.5,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--primary);
  padding: 15px 22px;
  margin: 28px 12px 0 0;
  border-radius: 12px;
  cursor: pointer;
  align-self: flex-end;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 90vw;
  max-width: 350px;
  padding-left: 36px;
  gap: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.17rem;
  color: var(--primary);
  padding: 12px 4px;
  margin-right: 16px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.19s, color 0.14s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--secondary);
  color: var(--white);
}

@media (max-width: 600px) {
  .mobile-nav {
    width: 100vw;
    padding-left: 28px;
  }
}

/* FOOTER */
footer {
  background: var(--pastel-lavender);
  border-top: 1px solid #EEE8FA;
  margin-top: 50px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  padding-top: 36px;
  padding-bottom: 22px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  margin-bottom: 8px;
}
.footer-nav a {
  font-family: 'Montserrat',sans-serif;
  font-size: .98rem;
  color: #565773;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--primary);
}
.footer-info {
  font-size: .93rem;
  color: #9C91AA;
  text-align: center;
}

/* --- FLEX CONTAINERS --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
}
.feature-grid > div {
  flex: 1 1 220px;
  background: var(--pastel-blue);
  border-radius: var(--radius);
  padding: 26px 22px 17px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.18s, background 0.18s;
  box-shadow: var(--shadow);
  min-width: 196px;
  max-width: 310px;
  margin-bottom: 20px;
}
.feature-grid > div:hover {
  background: var(--pastel-peach);
  box-shadow: 0 4px 24px 0 rgba(244,162,97,0.11);
}
.feature-grid img {
  width: 45px;
  height: 45px;
  background: var(--white);
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 2px 10px rgba(233,196,106,0.10);
  margin-bottom: 8px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--pastel-pink);
  padding: 26px 18px;
  transition: box-shadow 0.15s, background 0.15s;
}
.card:hover {
  background: var(--pastel-blue);
  box-shadow: 0 4px 24px 0 rgba(168,218,220,0.18);
}

.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;
}

@media (max-width: 900px) {
  .feature-grid, .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
}

/* Testimonial cards */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  min-width: 260px;
  max-width: 330px;
  flex: 1 1 260px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  font-size: 1.05rem;
  transition: transform 0.18s, box-shadow 0.17s;
  color: var(--text-dark);
}
.testimonial-card strong {
  color: var(--primary);
  font-family: 'Montserrat',sans-serif;
}
.testimonial-card span {
  font-size: 1.2rem;
  color: var(--secondary);
}
.testimonial-card:hover {
  transform: translateY(-5px) scale(1.025);
  box-shadow: 0 8px 28px 0 rgba(244,162,97,0.10);
}
.star-rating-summary {
  font-size: 1.04rem;
  color: #6c5c33;
  margin-top: 6px;
  border-radius: 8px;
  background: var(--pastel-peach);
  padding: 5px 16px;
  font-family: 'Montserrat',sans-serif;
  font-weight: 600;
  display: inline-block;
  box-shadow: 0 1px 10px 0 rgba(250,210,225,0.12);
}

/* Feature items */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* Service cards (Leistungen) */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.service-cards .text-section {
  background: var(--pastel-green);
  border-radius: var(--radius);
  box-shadow: 0 2px 14px 0 rgba(168,218,220,0.13);
  padding: 26px 20px;
  min-width: 210px;
  max-width: 320px;
  flex: 1 1 210px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  transition: box-shadow 0.19s, background 0.15s;
}
.service-cards .text-section:hover {
  background: var(--pastel-blue);
  box-shadow: 0 4px 21px rgba(244,162,97,0.09);
}

@media (max-width: 900px) {
  .service-cards {
    flex-direction: column;
    gap: 14px;
  }
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.faq-accordion .text-section {
  background: var(--pastel-lavender);
  border-radius: var(--radius);
  padding: 16px 18px 14px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(233,196,106,0.07);
}

/* Text Sections */
.text-section {
  margin-bottom: 16px;
  padding: 0;
}
.text-section.info {
  background: var(--pastel-peach);
  padding: 14px 20px;
  border-radius: var(--radius);
  color: var(--primary);
}

@media (max-width: 820px) {
  .faq-accordion, .service-cards {
    flex-direction: column;
    gap: 13px;
  }
}

/* Table (Preise) */
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}
thead {
  background: var(--pastel-blue);
}
th, td {
  font-family: 'Roboto', Arial, sans-serif;
  padding: 13px 12px;
  text-align: left;
}
th {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.09rem;
}
td {
  font-size: .99rem;
  color: var(--text-dark);
  border-bottom: 1px solid #F7EGEF;
}
tr:last-child td {
  border-bottom: none;
}
tbody tr:nth-child(even) td {
  background: #fbfaff;
}

/* Ratgeber List */
.categories-filter {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.categories-filter span {
  font-weight: 600;
  color: var(--primary);
}
.categories-filter a {
  background: var(--pastel-blue);
  color: var(--primary);
  border-radius: 17px;
  padding: 7px 16px;
  font-size: .98rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  transition: background 0.14s, color 0.14s;
}
.categories-filter a:hover, .categories-filter a:focus {
  background: var(--pastel-pink);
  color: var(--secondary);
}
.article-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 10px;
  margin-bottom: 16px;
}
.article-list li {
  background: var(--pastel-lavender);
  border-radius: var(--radius);
  padding: 19px 20px 14px 20px;
  box-shadow: 0 2px 10px 0 rgba(237,231,246,0.11);
}

/* Certificates and Associations (about) */
.certificates-list {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--pastel-peach);
  padding: 12px 16px;
  border-radius: 13px;
  margin: 10px 0 14px 0;
  box-shadow: 0 2px 10px 0 rgba(254,224,178,0.09);
  font-size: 1rem;
}
.certificates-list img {
  width: 33px;
  height: 33px;
}
.association-memberships {
  margin-top: 0;
  margin-bottom: 0;
}

/* Expert profile (ratgeber) */
.expert-profile-preview {
  background: var(--pastel-green);
  border-radius: 12px;
  padding: 18px 20px 12px 20px;
  margin: 16px 0 8px 0;
  font-size: 1rem;
  color: var(--primary);
  font-family: 'Montserrat',sans-serif;
  font-weight: 500;
}

/* MAP ICON */
.text-section img[alt="Standort"] {
  width: 40px;
  height: 40px;
  margin: 14px 0 8px 0;
  box-shadow: 0 2px 12px 0 rgba(168,218,220,0.10);
  border-radius: 50%;
  background: var(--white);
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--pastel-peach);
  color: var(--text-dark);
  box-shadow: 0 -2px 24px 0 rgba(244,162,97,0.10);
  border-top: 1px solid #E9C46A;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  padding: 20px 10px;
  z-index: 1800;
  animation: cb-fade-in 0.4s;
  font-size: 1rem;
}
.cookie-banner-text {
  flex: 1 1 80%;
  max-width: 500px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  background: var(--white);
  color: var(--primary);
  font-family: 'Montserrat',sans-serif;
  border: none;
  outline: none;
  padding: 10px 19px;
  margin: 0;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(233,196,106,0.08);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.cookie-btn.cookie-accept {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn.cookie-accept:hover, .cookie-btn.cookie-accept:focus {
  background: var(--accent);
  color: var(--primary);
}
.cookie-btn.cookie-reject {
  background: var(--pastel-blue);
  color: var(--primary);
}
.cookie-btn.cookie-reject:hover, .cookie-btn.cookie-reject:focus {
  background: var(--pastel-pink);
}
.cookie-btn.cookie-settings {
  background: var(--pastel-green);
  color: var(--primary);
}
.cookie-btn.cookie-settings:hover,
.cookie-btn.cookie-settings:focus {
  background: var(--accent);
  color: var(--primary);
}
@keyframes cb-fade-in {
  from { opacity:0; transform: translateY(40px); }
  to { opacity:1; transform: none; }
}

/* Cookie Modal (Banner/Settings) */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(60,40,40,0.24);
  z-index: 1900;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  animation: cb-fade-in 0.22s;
}
.cookie-modal {
  background: var(--white);
  border-radius: 19px;
  padding: 36px 26px 26px 26px;
  box-shadow: 0 8px 40px 0 rgba(233,196,106,0.18);
  min-width: 296px;
  max-width: 95vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  font-size: 1rem;
}
.cookie-modal h3 {
  margin-bottom: 7px;
  color: var(--primary);
  font-family: 'Montserrat',sans-serif;
  font-size: 1.13rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 10px 0 15px 0;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 20px;
  border-radius: 12px;
  background: var(--pastel-lavender);
  border: 1px solid #eee;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.14s;
}
.cookie-toggle:checked {
  background: var(--pastel-blue);
}
.cookie-toggle::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--secondary);
  position: absolute;
  left: 1px; top: 1px;
  transition: left 0.17s;
}
.cookie-toggle:checked::before {
  left: 19px;
}
.cookie-categories .cookie-category-row label {
  font-size: .99rem;
  font-family: 'Montserrat',sans-serif;
  color: var(--primary);
  font-weight: 500;
}
.cookie-modal-actions {
  display: flex;
  gap: 17px;
  margin-top: 10px;
}
.cookie-modal-dismiss {
  position: absolute;
  right: 14px;
  top: 14px;
  font-size: 1.44rem;
  border: none;
  background: none;
  color: #A1A5B5;
  cursor: pointer;
  padding: 2px;
  border-radius: 5px;
}
.cookie-modal-dismiss:hover,
.cookie-modal-dismiss:focus {
  color: #585885;
  background: #EEE8FA;
}

/* --- General enhancements & responsive --- */
@media (max-width:540px) {
  .feature-grid > div, .service-cards .text-section, .testimonial-card, .faq-accordion .text-section {
    padding-left: 10px;
    padding-right: 10px;
    min-width: 0;
    max-width: 100vw;
  }
  .certificates-list {
    flex-direction: column;
    gap: 7px;
    padding: 6px 4px;
  }
  .mobile-nav {
    padding-left: 9px;
  }
  .cookie-modal {
    min-width: 0;
    max-width: 98vw;
    padding: 20px 5vw 18px 5vw;
  }
}

@media (max-width:400px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 4px;
    font-size: .95rem;
  }
  .cookie-banner-buttons {
    gap: 6px;
    margin-left: 0;
  }
}

/* Animations */
.button.primary, .button.secondary, .mobile-menu-toggle, .mobile-menu-close, .cookie-btn {
  transition-property: background, color, box-shadow, transform;
  transition-duration: .17s;
}

/* Misc Utility Styles */
[tabindex]:focus, button:focus, a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

::-webkit-input-placeholder { color: #B9B3C6; }
::-moz-placeholder { color: #B9B3C6; }
:-ms-input-placeholder { color: #B9B3C6; }
::placeholder { color: #B9B3C6; }

/* Visually unmistakable Soft Pastel: background blends for major areas */
body {
  background: linear-gradient(180deg, #FAF7F5 65%, #EDE7F6 100%);
}
main > section {
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  background: var(--pastel-base);
  margin-bottom: 46px;
}

/* Ensure minimal content margins */
main > section:not(:last-child) {
  margin-bottom: 60px;
}

/* Hide visually-unneeded scrollbars in overlays */
.mobile-menu::-webkit-scrollbar,
.cookie-modal::-webkit-scrollbar {display:none;}

/* ------ END OF STYLE.CSS ------ */
