/* =====================================================================
   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 { line-height: 1.15; -webkit-text-size-adjust: 100%; }
body { line-height: 1.6; }
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section { display: block; }
a { background-color: transparent; color: inherit; text-decoration: none; }
img { border-style: none; max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
:focus { outline: 2px solid #EFCF6E; outline-offset: 2px; }


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


/* =====================================================================
   DESIGN SYSTEM: COLORS, FONTS, VARIABLES
   ===================================================================== */
:root {
  --lm-primary: #292B2E;
  --lm-secondary: #EFCF6E;
  --lm-accent: #FFFFFF;
  --lm-muted: #F6F3ED;
  --lm-grey: #ABA9A5;
  --lm-surface: #FFFDF8;
  --lm-shadow: rgba(41,43,46,0.07);
  --lm-shadow-deep: rgba(41,43,46,0.10);

  --font-display: 'Montserrat', serif;
  --font-body: 'Roboto', serif;
}


/* =====================================================================
   BASE TYPOGRAPHY
   ===================================================================== */
body {
  font-family: var(--font-body), serif;
  color: var(--lm-primary);
  background: var(--lm-surface);
  font-size: 16px;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display), serif;
  font-weight: 700;
  color: var(--lm-primary);
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.75rem; margin-top: 0; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.1rem; }
p, ul, ol, blockquote, address {
  margin-bottom: 24px;
  color: var(--lm-primary);
  font-size: 1.05rem;
}
ul, ol { padding-left: 1.25em; }
strong { font-weight: 700; }
em { font-style: italic; }
sub, sup { font-size: .75em; }
blockquote {
  border-left: 3px solid var(--lm-secondary); 
  padding-left: 18px; 
  margin-left: 0; 
  color: var(--lm-grey);
  font-style: italic;
}

/* Spacing helpers */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 16px !important; }


/* =====================================================================
   LAYOUT CONTAINERS & FLEX SPACING
   ===================================================================== */
main, .container {
  width: 100%;
  margin: 0 auto;
  max-width: 1140px;
  padding-left: 16px; padding-right: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--lm-surface);
  border-radius: 16px;
  box-shadow: 0 2px 10px var(--lm-shadow);
}
.content-wrapper {
  width: 100%;
  display: flex;  flex-direction: column; align-items: flex-start;
  gap: 16px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  background: var(--lm-accent);
  border-radius: 14px;
  box-shadow: 0 2px 8px var(--lm-shadow);
  margin-bottom: 20px;
  padding: 32px 24px;
  flex: 1 1 280px;
  min-width: 250px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 20px var(--lm-shadow-deep);
  transform: translateY(-3px);
}

.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: 28px;
  background: var(--lm-muted);
  border-radius: 12px;
  box-shadow: 0 2px 6px var(--lm-shadow);
  flex-direction: column;
}
.testimonial-card p {
  color: var(--lm-primary);
}
.testimonial-card strong {
  color: var(--lm-primary);
  font-size: 1rem;
  margin-top: 8px;
  font-family: var(--font-display);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Service Card (Leistungen) */
.service-card {
  background: var(--lm-accent);
  border-radius: 12px;
  padding: 32px 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px var(--lm-shadow);
  display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow 0.18s, transform 0.18s;
  border-left: 5px solid var(--lm-secondary);
  min-width: 250px;
  flex: 1 1 320px;
}
.service-card:hover {
  box-shadow: 0 8px 24px var(--lm-shadow-deep);
  transform: translateY(-4px);
}


/* =====================================================================
   HEADER/NAVIGATION
   ===================================================================== */
header {
  background: var(--lm-accent);
  box-shadow: 0 .5px 4px var(--lm-shadow);
  position: relative;
  z-index: 30;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px 16px 18px 16px;
  position: relative;
}
header nav > a img {
  height: 44px;
}
header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
header nav ul li {
  margin: 0;
}
header nav ul li a {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--lm-primary);
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.14s, color 0.14s;
  font-weight: 500;
}
header nav ul li a:hover, header nav ul li a:focus {
  background: var(--lm-secondary);
  color: var(--lm-primary);
}
header .cta-button {
  background: var(--lm-secondary);
  color: var(--lm-primary);
  padding: 10px 24px;
  border: none;
  border-radius: 24px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  margin-left: 20px;
  transition: background 0.18s, color 0.18s, box-shadow 0.16s;
  box-shadow: 0 2px 8px var(--lm-shadow);
  cursor: pointer;
  display: inline-block;
}
header .cta-button:hover,
header .cta-button:focus {
  background: var(--lm-primary);
  color: var(--lm-accent);
  box-shadow: 0 8px 34px rgba(41,43,46,0.14);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: var(--lm-accent);
  border: none;
  color: var(--lm-primary);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 6px;
  position: absolute;
  right: 22px;
  top: 18px;
  transition: background 0.15s;
  z-index: 101;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--lm-secondary);
  color: var(--lm-primary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: var(--lm-accent);
  transform: translateX(-105%);
  transition: transform 0.37s cubic-bezier(0.7,0.15,0.35,1);
  z-index: 200;
  box-shadow: 0 2px 18px var(--lm-shadow-deep);
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--lm-primary);
  align-self: flex-end;
  margin: 18px 24px 0 0;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.13s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus { background: var(--lm-secondary); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin: 40px 0 0 36px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: var(--lm-primary);
  font-family: var(--font-display);
  padding: 12px 24px 12px 0;
  border-radius: 6px;
  transition: color 0.14s, background 0.14s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--lm-secondary);
  color: var(--lm-primary);
}

/* Responsive Hamburger */
@media (max-width: 1024px) {
  header nav ul, header .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}


/* =====================================================================
   HERO & SECTION STYLES
   ===================================================================== */
.hero {
  background: linear-gradient(90deg, var(--lm-muted) 60%, var(--lm-secondary) 100%);
  border-radius: 0 0 36px 36px;
  box-shadow: 0 4px 20px var(--lm-shadow);
  margin-bottom: 54px;
  padding: 48px 0 40px 0;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.75rem;
  color: var(--lm-primary);
  margin-bottom: 12px;
}
.hero .subheadline {
  font-family: var(--font-body);
  color: var(--lm-grey);
  font-weight: 400;
  font-size: 1.15rem;
  margin-bottom: 28px;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--lm-surface);
  border-radius: 16px;
  box-shadow: 0 2px 10px var(--lm-shadow);
}

.section:last-child { margin-bottom: 0; }


/* =====================================================================
   LISTS, FAQ, CARDS
   ===================================================================== */
/* Feature Icon List */
section ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 36px;
  margin-bottom: 0;
}
section ul li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
  max-width: 300px;
  gap: 10px;
  background: var(--lm-accent);
  border-radius: 10px;
  box-shadow: 0 1.5px 4px var(--lm-shadow);
  padding: 18px 16px 18px 16px;
  margin-bottom: 20px;
  transition: box-shadow 0.14s, transform 0.14s;
}
section ul li img {
  width: 38px; height: 38px; margin-bottom: 7px; }
section ul li h3 {
  font-size: 1.15rem;
  color: var(--lm-primary);
  margin-bottom: 4px;
  font-family: var(--font-display);
}
section ul li p {
  color: var(--lm-grey);
  font-size: 1rem;
  margin-bottom: 0;
}
section ul li:hover {
  box-shadow: 0 8px 18px var(--lm-shadow-deep);
  transform: translateY(-2px) scale(1.012);
}

.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-list article {
  background: var(--lm-accent);
  border-radius: 10px;
  box-shadow: 0 1.5px 4px var(--lm-shadow);
  padding: 22px 18px 20px 18px;
  flex: 1 1 280px;
  min-width: 220px;
  transition: box-shadow 0.15s, transform 0.15s;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.blog-list article h3 { font-size: 1.10rem; margin-bottom: 7px; }
.blog-list article p { color: var(--lm-primary); }
.blog-list article a {
  margin-top: 10px;
  color: var(--lm-secondary);
  font-weight: bold;
  font-family: var(--font-display);
  transition: text-decoration 0.14s;
}
.blog-list article a:hover, .blog-list article a:focus {
  text-decoration: underline;
}
.blog-list article:hover {
  box-shadow: 0 6px 22px var(--lm-shadow-deep);
  transform: translateY(-3px);
}

.faq-accordion h3 {
  font-size: 1.12rem;
  margin-bottom: 5px;
  cursor: pointer;
  color: var(--lm-primary);
  font-weight: 500;
}
.faq-accordion p {
  color: var(--lm-grey);
  font-size: 1.02rem;
  margin-bottom: 18px;
  margin-left: 8px;
}

/* Map Placeholder */
.map-placeholder {
  width: 100%;
  height: 190px;
  background: var(--lm-muted);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--lm-grey);
  font-style: italic;
  font-size: 1rem;
}


/* =====================================================================
   BUTTONS, LINKS, CTAS
   ===================================================================== */
.cta-button {
  background: var(--lm-secondary);
  color: var(--lm-primary);
  padding: 13px 30px;
  border-radius: 25px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  border: none;
  box-shadow: 0 2px 8px var(--lm-shadow);
  cursor: pointer;
  margin-top: 8px;
  display: inline-block;
  transition: background 0.18s, color 0.18s, box-shadow 0.13s, transform 0.12s;
}
.cta-button:hover, .cta-button:focus {
  background: var(--lm-primary);
  color: var(--lm-accent);
  box-shadow: 0 10px 36px var(--lm-shadow-deep);
  transform: translateY(-2px) scale(1.02);
}

a {
  color: var(--lm-secondary);
  text-decoration: none;
  transition: text-decoration 0.14s, color 0.18s;
}
a:hover, a:focus {
  text-decoration: underline;
  color: var(--lm-primary);
}

/* =====================================================================
   FOOTER
   ===================================================================== */
footer {
  background: var(--lm-muted);
  color: var(--lm-primary);
  padding: 45px 0 18px 0;
  border-top-left-radius: 29px;
  border-top-right-radius: 29px;
  box-shadow: 0 -0.5px 10px var(--lm-shadow);
  margin-top: 80px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px;
  max-width: 1140px;
  margin-left: auto; margin-right: auto;
  padding: 0 16px;
}
footer nav ul {
  display: flex; flex-direction: column; gap: 10px;
}
footer nav ul li a {
  color: var(--lm-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 3px 0;
  border-radius: 4px;
  transition: background 0.13s, color 0.13s;
}
footer nav ul li a:hover,
footer nav ul li a:focus {
  background: var(--lm-secondary);
  color: var(--lm-primary);
}
footer address {
  font-style: normal;
  font-size: 0.99rem;
  color: var(--lm-primary);
  margin-bottom: 12px;
}
footer address a { color: var(--lm-primary); }
footer p {
  color: var(--lm-grey);
  font-size: 0.98rem;
  text-align: left;
  margin-bottom: 0;
}


/* =====================================================================
   COOKIE CONSENT BANNER
   ===================================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 310;
  background: var(--lm-muted);
  box-shadow: 0 -2px 10px var(--lm-shadow);
  display: flex;
  justify-content: center;
  padding: 24px 16px;
  transition: transform 0.3s;
  gap: 24px;
  align-items: center;
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner .cookie-content {
  max-width: 900px;
  font-size: 1.05rem;
  color: var(--lm-primary);
  margin-right: 16px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  padding: 11px 24px;
  border-radius: 18px;
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.01rem;
  cursor: pointer;
  box-shadow: 0 1px 4px var(--lm-shadow);
  background: var(--lm-secondary);
  color: var(--lm-primary);
  transition: background 0.2s, color 0.2s, transform 0.13s;
}
.cookie-btn.cookie-secondary {
  background: var(--lm-primary);
  color: var(--lm-accent);
}
.cookie-btn.cookie-tertiary {
  background: var(--lm-muted);
  color: var(--lm-primary);
  border: 1px solid var(--lm-primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--lm-primary);
  color: var(--lm-accent);
  transform: translateY(-1px) scale(1.02);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  z-index: 320;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(41,43,46,0.19);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal .modal-inner {
  background: var(--lm-accent);
  border-radius: 18px;
  box-shadow: 0 8px 40px var(--lm-shadow-deep);
  padding: 40px 30px 24px 30px;
  max-width: 420px;
  width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modalPopIn 0.42s cubic-bezier(0.65,0,0.17,1);
}
@keyframes modalPopIn {
  0% { transform: translateY(40px) scale(0.95); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal .modal-close {
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--lm-primary);
  position: absolute; top: 12px; right: 18px;
  cursor: pointer;
  padding: 7px 10px;
  border-radius: 5px;
  transition: background 0.13s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: var(--lm-secondary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--lm-secondary);
  margin-right: 0;
}
.cookie-category label {
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--lm-primary);
  font-size: 1.04rem;
}
.cookie-category .essential {
  color: var(--lm-primary);
  font-weight: 700;
  font-style: italic;
}


/* =====================================================================
   RESPONSIVE STYLES
   ===================================================================== */
@media (max-width: 900px) {
  .container, header nav {
    max-width: 100vw;
  }
  .hero h1 { font-size: 2.1rem; }
  .section, section {
    padding: 32px 8px;
  }
}
@media (max-width: 768px) {
  body { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  
  .container, header nav, footer nav {
    padding-left: 6px; padding-right: 6px;
  }
  .section, section {
    margin-bottom: 38px;
    padding: 18px 3vw;
    border-radius: 10px;
  }
  .card, .service-card, .blog-list article, .testimonial-card, .faq-accordion h3, .faq-accordion p {
    min-width: 0;
  }
  .hero {
    padding: 32px 0 18px 0;
    border-radius: 0 0 19px 19px;
    margin-bottom: 24px;
  }
  .card-container, .blog-list, section ul, .content-grid {
    gap: 13px;
  }
  .content-wrapper {
    gap: 11px;
  }
  .testimonial-card { padding: 12px; margin-bottom: 14px; border-radius: 7px; }
  .card, .service-card, .blog-list article {
    padding: 12px 10px;
    border-radius: 8px;
  }
  .faq-accordion h3 { font-size: 1rem; }
  .faq-accordion p { font-size: 0.97rem; }
  .map-placeholder { height: 110px; border-radius: 7px; }
  .mobile-nav { margin: 30px 0 0 14px; gap: 13px; }
  .mobile-menu-close { font-size: 1.6rem; margin: 12px 10px 0 0; }
  .hero .container { padding: 0; }
}
@media (max-width: 670px) {
  .text-image-section, .content-grid {
    flex-direction: column !important;
    gap: 21px !important;
    align-items: stretch;
  }
  .card-container {
    flex-direction: column;
    gap: 13px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.38rem; }
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 20px 5px 24px 5px;
  }
  .cookie-banner .cookie-buttons {
    width: 100%;
    gap: 6px;
    justify-content: flex-start;
  }
  .cookie-modal .modal-inner {
    padding: 20px 8px 17px 8px;
    border-radius: 9px;
    gap: 14px;
  }
}

/* Prevent accidental layout issues */
.card, .service-card, .blog-list article, .testimonial-card, section ul li {
  min-width: 0px;
  box-sizing: border-box;
}

/* =====================================================================
   UTILITIES
   ===================================================================== */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }


/* END OF STYLE.CSS */
