/* ============================================================
   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;
}
html { box-sizing: border-box; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body { line-height: 1.5; background: #F3F3F1; min-height: 100vh; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; background: none; border: none; outline: none; }
:root {
  --color-primary: #38537C;
  --color-secondary: #7BA881;
  --color-accent: #F3F3F1;
  --color-black: #212427;
  --color-white: #fff;
  --color-bold: #24355a;
  --color-shadow: rgba(56, 83, 124, 0.08);
  --color-shadow-dark: rgba(56, 83, 124, 0.2);
  --color-testimonial-bg: #fff;
  --color-testimonial-text: #212427;
  --font-display: 'Quicksand', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

@import url('https://fonts.googleapis.com/css?family=Quicksand:700,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* ============================================================
   Typography (Modern_Bold)
   ============================================================ */
body {
  font-family: var(--font-body);
  color: var(--color-black);
  background: var(--color-accent);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}
h1 { font-size: 2.75rem; margin-bottom: 24px; line-height: 1.1; }
h2 { font-size: 2rem; margin-bottom: 20px; line-height: 1.15; }
h3 { font-size: 1.35rem; margin-bottom: 14px; color: var(--color-secondary); font-weight: 700; }
h4, h5, h6 { font-size: 1.05rem; font-weight: 700; }
p, ul, li {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-black);
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.7;
}
strong { font-weight: 700; color: var(--color-primary); }

/* ============================================================
   Layout, Containers & Spacing
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 6px 24px var(--color-shadow);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  min-width: 260px;
}
.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;
  margin-bottom: 20px;
  background: var(--color-testimonial-bg);
  color: var(--color-testimonial-text);
  border-radius: 14px;
  box-shadow: 0 4px 16px var(--color-shadow-dark);
  font-size: 1rem;
  position: relative;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}
.text-section {
  margin-bottom: 20px;
}
.service-results {
  margin-top: 24px;
  margin-bottom: 24px;
}
.map-placeholder {
  background: #E8ECEF;
  border-radius: 10px;
  width: 100%;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Spacing & layering between sections */
section {
  margin-bottom: 48px;
}
section:last-child { margin-bottom: 0; }

/* ============================================================
   Header & Navigation (Modern_Bold)
   ============================================================ */
header {
  background: var(--color-white);
  box-shadow: 0 2px 16px var(--color-shadow);
  padding: 12px 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
header img {
  height: 46px;
  width: auto;
  margin-right: 30px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 700;
  padding: 8px 18px;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  border-radius: 8px;
  background: none;
  transition: background 0.2s, color 0.2s;
  font-size: 1.08rem;
}
header nav a:hover, header nav a:focus {
  background: var(--color-secondary);
  color: var(--color-white);
  outline: none;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 34px;
  border-radius: 24px;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 3px 16px var(--color-shadow);
  transition: background 0.18s, transform 0.14s, box-shadow 0.18s;
  margin-left: 24px;
  margin-right: 0;
  border: none;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-secondary);
  color: var(--color-white);
  box-shadow: 0 6px 32px var(--color-shadow-dark);
  transform: translateY(-2px) scale(1.04);
}

/* ============================================================
   Mobile Navigation / Burger Menu
   ============================================================ */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 22px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 7px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  z-index: 200;
  border: none;
  transition: background 0.16s, box-shadow 0.16s;
  box-shadow: 0 2px 10px var(--color-shadow);
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-secondary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: var(--color-white);
  box-shadow: 0 0 36px var(--color-shadow-dark);
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-120%);
  transition: transform 0.33s cubic-bezier(.6,.18,0,1);
  will-change: transform;
  padding: 0;
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 26px;
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 501;
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-primary);
}
.mobile-nav {
  margin-top: 75px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 0 40px;
}
.mobile-nav a {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  padding: 16px 0;
  border-radius: 6px;
  color: var(--color-primary);
  transition: color 0.18s, background 0.18s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-white);
}

/* Burger icon on mobile only */
@media (max-width: 1000px) {
  .mobile-menu-toggle {
    display: flex;
  }
  header nav, header .cta-btn {
    display: none;
  }
}
@media (min-width: 1001px) {
  .mobile-menu {
    display: none !important;
  }
}


/* ============================================================
   Footer
   ============================================================ */
footer {
  background: var(--color-primary);
  padding: 32px 0 24px;
  color: var(--color-white);
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
footer p {
  font-size: 1rem;
  color: var(--color-white);
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 16px;
}
footer nav a {
  color: var(--color-secondary);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-white);
  text-decoration: underline;
}

/* ============================================================
   Lists & Bullets (Bold Modern)
   ============================================================ */
ul {
  margin-bottom: 18px;
  padding-left: 0;
  list-style: none;
}
ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 9px;
  font-size: 1rem;
}
ul li:before {
  content: '';
  display: inline-block;
  width: 13px; height: 13px;
  border-radius: 30%;
  background: var(--color-secondary);
  position: absolute;
  left: 0; top: 0.38em;
}
.text-section ul li:before {
  background: var(--color-primary);
}

/* ============================================================
   Testimonial Cards
   ============================================================ */
.testimonial-card {
  background: var(--color-white);
  color: #1f2933;
  border-left: 6px solid var(--color-secondary);
  border-radius: 16px;
  box-shadow: 0 4px 22px var(--color-shadow-dark);
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.55;
  padding: 23px 30px 21px 30px;
}
.testimonial-card strong {
  display: block;
  color: var(--color-secondary);
  font-size: 0.98em;
  font-family: var(--font-display);
  margin-top: 8px;
  font-style: normal;
}
.testimonial-card blockquote {
  border: none;
  padding: 0;
  margin: 0;
  background: none;
}

/* Ensure high contrast in review/testimonial area (always dark on light bg) */
.testimonial-card,
.testimonial-card p,
.testimonial-card blockquote {
  color: #1f2933;
}

/* ============================================================
   Buttons, Inputs, Forms
   ============================================================ */
button, .cta-btn, input[type='submit'], input[type='button'] {
  cursor: pointer;
  user-select: none;
  border: none;
  outline: none;
  transition: background 0.18s, box-shadow 0.15s, color 0.18s, transform 0.16s;
}
button:focus, .cta-btn:focus, input[type='submit']:focus {
  outline: 2px solid var(--color-secondary);
}

/* ============================================================
   Cards (Generic)
   ============================================================ */
.card {
  box-shadow: 0 5px 32px var(--color-shadow);
  border-radius: 18px;
  background: var(--color-white);
  padding: 32px 26px;
  margin-bottom: 20px;
}
.card h3 { margin-top: 0; }
.card ul {
  margin-bottom: 0;
}

/* Card containers always use flexbox */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

/* ============================================================
   Misc Utility Classes
   ============================================================ */
.text-section {
  margin-bottom: 20px;
}
.highlight-services {
  background: var(--color-accent);
  border-left: 5px solid var(--color-primary);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 16px;
  margin-bottom: 16px;
}
.map-placeholder {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   Responsive Design (Always Mobile-First)
   ============================================================ */
@media (max-width: 768px) {
  .container, .content-wrapper {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section {
    margin-bottom: 38px;
    padding: 25px 8px;
  }
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .testimonial-card {
    padding: 14px 12px 14px 18px;
    font-size: 0.98rem;
  }
  .highlight-services {
    padding: 14px 13px;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .cta-btn {
    width: 100%;
    margin-bottom: 16px;
    margin-left: 0;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.32rem; }
  h3 { font-size: 1.1rem; } 
  .map-placeholder { min-height: 90px; }
}

/* ============================================================
   Focus & Accessibility Styling
   ============================================================ */
a:focus, button:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 1px;
}

/* ============================================================
   Animations & Micro-Interactions
   ============================================================ */
.cta-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.22s, box-shadow 0.19s, color 0.22s, transform 0.16s;
}
.cta-btn:active, .mobile-menu-toggle:active, .mobile-menu-close:active {
  transform: scale(0.97);
  background: var(--color-bold);
}
.testimonial-card {
  transition: box-shadow 0.18s, transform 0.13s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 40px var(--color-shadow-dark);
  transform: translateY(-2px) scale(1.01);
}
.card {
  transition: box-shadow 0.14s, transform 0.14s;
}
.card:hover {
  box-shadow: 0 12px 48px var(--color-shadow-dark);
  transform: translateY(-2px) scale(1.01);
}

/* ============================================================
   Geometric/Modern Bold Decorative Details
   ============================================================ */
.section {
  border-radius: 26px;
  background: var(--color-accent);
  box-shadow: 0 5px 40px var(--color-shadow);
}

/* ============================================================
   Cookie Consent Banner & Modal
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: var(--color-white);
  color: var(--color-black);
  box-shadow: 0 -4px 36px var(--color-shadow-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 30px 16px 18px 16px;
  gap: 12px;
  font-size: 1rem;
  border-radius: 18px 18px 0 0;
  min-height: 0;
  animation: banner-slideup 0.38s cubic-bezier(.80,0,.47,1.04);
}
@keyframes banner-slideup {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  font-size: 1.02rem;
  margin-bottom: 6px;
  text-align: center;
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
  margin-top: 9px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: var(--font-display);
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 20px;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  margin-right: 0;
  margin-bottom: 0;
  box-shadow: 0 2px 10px var(--color-shadow);
  transition: background 0.17s, box-shadow 0.14s, color 0.16s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-secondary);
  color: var(--color-white);
  box-shadow: 0 3px 18px var(--color-shadow-dark);
}
.cookie-btn.cookie-btn--secondary {
  background: var(--color-secondary);
  color: var(--color-white);
}
.cookie-btn.cookie-btn--secondary:hover, .cookie-btn.cookie-btn--secondary:focus {
  background: var(--color-primary);
  color: var(--color-white);
}
.cookie-btn.cookie-btn--settings {
  background: var(--color-accent);
  color: var(--color-bold);
  border: 2px solid var(--color-primary);
  font-weight: 700;
}
.cookie-btn.cookie-btn--settings:hover, .cookie-btn.cookie-btn--settings:focus {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Cookie Modal Overlay & Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(33, 36, 39, 0.53);
  z-index: 10999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: var(--color-white);
  box-shadow: 0 6px 42px var(--color-shadow-dark);
  border-radius: 18px;
  padding: 39px 28px 27px 28px;
  max-width: 430px;
  width: 95vw;
  z-index: 11000;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: modal-scalein 0.33s cubic-bezier(.83,-0.01,.35,1.15);
}
@keyframes modal-scalein {
  0% { transform: scale(0.93) translateY(20px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}
.cookie-modal__group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  padding: 14px 0;
  border-bottom: 1px solid #edf0f3;
}
.cookie-modal__group:last-child { border-bottom: none; margin-bottom: 0; }
.cookie-modal__label {
  font-size: 1.09rem;
  font-weight: 500;
  color: var(--color-primary);
  font-family: var(--font-display);
  margin-right: 8px;
}
.cookie-modal__switch {
  width: 48px;
  height: 27px;
  position: relative;
  display: inline-block;
}
.cookie-modal__switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-modal__slider {
  position: absolute; cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #ebecf0;
  border-radius: 40px;
  transition: background 0.2s;
}
.cookie-modal__switch input:checked + .cookie-modal__slider {
  background-color: var(--color-secondary);
}
.cookie-modal__slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 2.5px;
  bottom: 2.6px;
  background-color: var(--color-white);
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 2px 6px var(--color-shadow);
}
.cookie-modal__switch input:checked + .cookie-modal__slider:before {
  transform: translateX(20px);
}
.cookie-modal__desc {
  color: #444952;
  font-size: 0.96rem;
  margin-top: 2px;
}
.cookie-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px; height: 36px;
  background: var(--color-accent);
  color: var(--color-secondary);
  border: none;
  border-radius: 50%;
  font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
}
.cookie-modal__close:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

@media (max-width: 568px) {
  .cookie-modal {
    padding: 22px 6vw 19px 6vw;
    max-width: 99vw;
  }
}

/* Hide cookie banner/modal when inactive */
.cookie-banner.hide {
  display: none !important;
}
.cookie-modal-overlay.hide {
  display: none !important;
}

/* ============================================================
   Image & Icon Styles
   ============================================================ */
img[alt^="Telefon"], img[alt^="E-Mail"], img[alt^="Adresse"], img[alt^="Öffnungszeiten"], img[alt^="mail"], img[alt^="phone"], img[alt^="clock"], img[alt^="icon"] {
  width: 19px;
  height: 19px;
  margin-right: 6px;
  display: inline-block;
  vertical-align: middle;
  margin-bottom: -3px;
}

/* ============================================================
   Geometric Modern Divider (Utility)
   ============================================================ */
.divider {
  width: 40px;
  height: 4px;
  border-radius: 5px;
  background: var(--color-primary);
  margin: 18px 0 18px 0;
}

/* ============================================================
   Accessibility, Print, and No-JS Fallback
   ============================================================ */
@media print {
  .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay { display: none !important; }
}

/* ============================================================
   END Fellzauber Berlin Modern_Bold CSS
   ============================================================ */
