/* 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; } *, *:before, *:after { box-sizing: inherit; }

body {
  background: #FFFDF6;
  color: #2D3A4F;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, picture, video {
  max-width: 100%;
  height: auto;
  display: block;
}
a { color: #2D3A4F; text-decoration: none; transition: color 0.18s; }
a:hover, a:focus { color: #7C9A5B; outline: none; }

ul, ol {
  margin-left: 24px;
  margin-bottom: 20px;
}
li { margin-bottom: 8px; }

strong, b { font-weight: 700; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  color: #2D3A4F;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.6rem; line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: 2rem; line-height: 1.16; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
p { font-size: 1rem; color: #33425e; margin-bottom: 16px; }

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

/* CONTAINERS */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* HEADER + NAV */
header {
  background: #FFFDF6;
  box-shadow: 0 2px 12px 0 rgba(45,58,79,0.18);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px 18px 20px;
}
.logo {
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: #2D3A4F;
  transition: color 0.2s;
}
.logo img { height: 44px; width: auto; display: block; }

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #2D3A4F;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s;
}
nav a:hover, nav a:focus { background: #7C9A5B; color: #FFFDF6; }

.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  background: #7C9A5B;
  color: #FFFDF6;
  border-radius: 16px;
  padding: 13px 28px;
  border: none;
  box-shadow: 0 3px 18px rgba(124,154,91,0.14);
  margin-left: 24px;
  cursor: pointer;
  transition: background 0.22s, color 0.19s, transform 0.12s;
  outline: none;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #2D3A4F;
  color: #7C9A5B;
  transform: translateY(-2px) scale(1.03);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  color: #2D3A4F;
  background: none;
  border: none;
  margin-left: 10px;
  z-index: 210;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus { color: #7C9A5B; outline: 2px solid #7C9A5B; }
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: #FFFDF6;
  box-shadow: 0 8px 32px rgba(45,58,79,0.10);
  transform: translateX(-100%);
  transition: transform 0.37s cubic-bezier(.66,.04,.24,1.08);
  z-index: 200;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #2D3A4F;
  align-self: flex-end;
  margin: 26px 30px 18px 0;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 210;
}
.mobile-menu-close:focus { color: #7C9A5B; outline: 2px solid #7C9A5B; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px 32px;
  gap: 20px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
  color: #2D3A4F;
  padding: 10px 0;
  transition: color 0.18s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #7C9A5B;
  background: #f3f8eb;
  border-radius: 6px;
  padding-left: 10px;
}

@media (max-width: 1023px) {
  nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1024px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* HERO SECTION */
.hero {
  background: linear-gradient(92deg, #FFFDF6 0%, #f3f8eb 100%);
  padding: 45px 0 0 0;
  margin-bottom: 0;
}
.hero .container { min-height: 270px; }
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
}
.hero h1 {
  color: #2D3A4F;
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 16px;
  max-width: 700px;
  letter-spacing: 0.01em;
}
.hero p {
  font-size: 1.16rem;
  max-width: 520px;
  color: #33425e;
}

/* CTA SECTION */
.cta {
  background: #2D3A4F;
  border-radius: 32px;
  margin-bottom: 40px;
  padding: 40px 20px;
  position: relative;
  box-shadow: 0 12px 40px rgba(45,58,79,0.13);
}
.cta h2 {
  color: #FFFDF6;
  font-size: 2rem;
}
.cta .cta-btn {
  background: #7C9A5B;
  color: #FFFDF6;
  margin-top: 14px;
}
.cta .cta-btn:hover, .cta .cta-btn:focus {
  background: #FFFDF6;
  color: #2D3A4F;
}

/* FLEX SPACING & LAYOUT PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  box-shadow: 0 3px 22px rgba(45,58,79,0.07);
  border-radius: 20px;
  background: #FFF;
  position: relative;
  min-width: 230px;
  flex: 1 1 280px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 24px 24px 24px;
  gap: 16px;
}
.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: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #FFF;
  border-left: 6px solid #7C9A5B;
  border-radius: 20px;
  box-shadow: 0 3px 18px rgba(124,154,91,0.08);
  padding: 20px;
  margin-bottom: 20px;
  min-height: 100px;
  max-width: 650px;
}
.testimonial-card p {
  color: #2D3A4F;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
}
.testimonial-card span {
  margin-left: 10px;
  font-size: 1rem;
  color: #7C9A5B;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 24px 14px 22px 14px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(124,154,91,0.07);
  background: #FFF;
}

/* SPECIAL GRIDS FOR INDEX, LEISTUNGEN, BEWERTUNGEN */
.feature-grid, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.feature-grid > div, .service-grid > div {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(45,58,79,0.05);
  padding: 28px 24px;
  min-width: 230px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.feature-grid img, .service-grid img {
  height: 48px;
  width: 48px;
  margin-bottom: 6px;
  background: #E1EAD2;
  border-radius: 12px;
  padding: 6px;
  object-fit: contain;
}

/* TABLES */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 1rem;
  background: #FFF;
  box-shadow: 0 4px 18px rgba(45,58,79,0.07);
  border-radius: 14px;
  overflow: hidden;
}
th, td {
  padding: 15px 16px;
}
th {
  background: #7C9A5B;
  color: #FFFDF6;
  font-weight: 800;
  text-align: left;
  font-size: 1.09rem;
}
td {
  color: #2D3A4F;
  border-bottom: 1px solid #eee;
}
tr:last-child td { border-bottom: none; }

/* FORMS (for possible form fields in kontakt) */
input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  background: #FFFDF6;
  color: #2D3A4F;
  border: 2px solid #7C9A5B;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 18px;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.13s;
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: #2D3A4F;
  box-shadow: 0 1px 7px 0 #7C9A5B55;
}

button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 12px;
  transition: background 0.18s, color 0.18s, box-shadow 0.13s;
}
button:active { transform: scale(0.97); }

/* FOOTER */
footer {
  background: #2D3A4F;
  color: #FFFDF6;
  padding: 38px 0 0 0;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
footer .container { padding: 0 20px 20px 20px; }
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
footer nav a {
  color: #FFFDF6;
  font-size: 1rem;
  font-weight: 600;
}
footer nav a:hover, footer nav a:focus {
  color: #7C9A5B;
  background: none;
}
footer .logo img {
  height: 38px;
  filter: brightness(1.18);
}
footer p {
  color: #f4f7f2;
  font-size: 1rem;
}

/* COOKIE BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 500;
  background: #2D3A4F;
  color: #fffdf6;
  width: 100%;
  box-shadow: 0 -6px 32px rgba(45,58,79,0.14);
  padding: 28px 16px 16px 16px;
  font-size: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  animation: fadeInBottom 0.6s cubic-bezier(.45,.73,.54,1);
}
@keyframes fadeInBottom {
  from { opacity: 0; transform: translateY(35px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-consent-banner p {
  color: #FFFDF6;
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}
.cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 10px;
  padding: 9px 20px;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.11s;
  box-shadow: 0 2px 4px rgba(124,154,91,0.07);
}
.cookie-accept {
  background: #7C9A5B;
  color: #FFFDF6;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #61913D;
  outline: none;
}
.cookie-reject {
  background: #FFFDF6;
  color: #2D3A4F;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #d6dec8;
}
.cookie-settings {
  background: transparent;
  border: 2px solid #7C9A5B;
  color: #7C9A5B;
  padding: 9px 16px;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #7C9A5B;
  color: #FFFDF6;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed; top:0; left:0; right:0; bottom:0;
  z-index: 800;
  background: rgba(45,58,79,0.23);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal .24s;
}
@keyframes fadeInModal {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #FFFDF6;
  color: #2D3A4F;
  border-radius: 22px;
  max-width: 97vw;
  min-width: 300px;
  width: 380px;
  padding: 32px 28px 28px 28px;
  box-shadow: 0 6px 42px rgba(45,58,79,0.18);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #2D3A4F;
  transition: color 0.11s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #7C9A5B;
}
.cookie-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #2D3A4F;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: #2D3A4F;
}
.cookie-toggle {
  width: 44px;
  height: 24px;
  background: #d6dec8;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background 0.14s;
  border: none;
  margin-left: 16px;
}
.cookie-toggle[aria-checked="true"] {
  background: #7C9A5B;
}
.cookie-toggle-knob {
  display: block;
  left: 3px; top: 3px;
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #FFF;
  transition: left 0.19s, background 0.19s;
}
.cookie-toggle[aria-checked="true"] .cookie-toggle-knob {
  left: 23px; background: #FFFDF6;
}
.cookie-essential {
  pointer-events: none;
  opacity: 0.72;
}

.cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal-actions .cookie-btn {
  min-width: 100px;
}

/* TYPOGRAPHY SCALE */
.display-1 { font-size: 2.6rem; font-family: 'Montserrat', Arial, sans-serif; font-weight: 900; }
.display-2 { font-size: 2rem; font-family: 'Montserrat', Arial, sans-serif; font-weight: 800; }
.display-3 { font-size: 1.3rem; font-family: 'Montserrat', Arial, sans-serif; font-weight: 800; }
.text-lead { font-size: 1.18rem; font-weight: 500; letter-spacing: 0.01em; }

/* DL STYLING (GALERIE) */
dl { width: 100%; margin: 0 0 20px 0; }
dt { font-family: 'Montserrat', Arial, sans-serif; font-weight: 800; font-size: 1.1rem; color: #7C9A5B; margin-top: 20px; }
dd { color: #2D3A4F; font-size: 1rem; margin-left: 12px; margin-bottom: 10px; }

/* GEOMETRIC DECOS (modern bold accent) */
.section::before, .feature-grid > div::before, .service-grid > div::before {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  width: 36px; height: 36px;
  background: #f3f8eb;
  top: -18px; left: -18px;
  opacity: 0.56;
}
.section, .feature-grid > div, .service-grid > div { position: relative; }

@media (max-width: 900px) {
  .feature-grid, .service-grid, .card-container { gap: 18px; }
  .feature-grid > div, .service-grid > div, .card { min-width: 60vw; max-width: 100vw; }
}
@media (max-width: 768px) {
  .container {
    padding: 0 7vw;
  }
  header .container { flex-direction: row; padding: 18px 8vw 12px 8vw; }
  .content-grid, .feature-grid, .service-grid, .card-container { flex-direction: column; gap: 12px; }
  .card, .feature-grid > div, .service-grid > div { min-width: 100%; }
  .section {
    margin-bottom: 32px;
    padding: 26px 0 26px 0;
  }
  .cta { padding: 24px 10px; border-radius: 14px; }
}

/* MICRO-INTERACTIONS & HOVER */
.cta-btn:active {
  transform: scale(0.98);
}
.feature-grid > div:hover, .service-grid > div:hover, .card:hover {
  box-shadow: 0 9px 28px rgba(45,58,79,0.18);
  transform: translateY(-6px) scale(1.02);
  transition: box-shadow 0.19s, transform 0.19s;
}
.feature-grid > div, .service-grid > div, .card {
  transition: box-shadow 0.14s, transform 0.17s;
}

/* VISUAL HIERARCHY */
.section h2, .card h3, .feature-grid h3, .service-grid h3, .cta h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

/* SPACING GUIDELINES FOR CONSISTENCY */
.section, .card, .feature-grid > div, .service-grid > div {
  margin-bottom: 20px;
}
.feature-grid, .service-grid, .card-container, .testimonial-card, .content-grid {
  gap: 20px;
}

/* ACCESSIBLE FOCUS STATES */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid #7C9A5B;
  outline-offset: 1px;
}

/* Print display font fallbacks */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Montserrat'), local('Montserrat-Regular'), url('https://fonts.gstatic.com/s/montserrat/v15/JTURjIg1_i6t8kCHKm45_aZA5g.ttf') format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Roboto'), local('Roboto-Regular'), url('https://fonts.gstatic.com/s/roboto/v29/KFOmCnqEu92Fr1Mu4mxP.ttf') format('truetype');
}

/* HIDE VISUALLY ONLY */
.sr-only {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  top: auto; 
  overflow: hidden;
}
