/* RESET & BASE TYPOGRAPHY */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #f9fafb 0%, #e5eaef 100%);
  color: #24344D;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@media (max-width: 600px) {
  html { font-size: 15px; }
}

/* FONTS: DISPLAY TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #24344D;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.15rem; margin-bottom: 8px; }
p, ul, ol, li {
  font-size: 1rem;
  font-weight: 400;
  color: #24344D;
  margin-bottom: 1em;
}
ul, ol {
  padding-left: 20px;
}
strong {
  font-weight: 600;
}
a {
  color: #24344D;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-word;
}
a:hover, a:focus {
  color: #F1AE3D;
}
img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

/* CONTAINERS & SECTIONS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(36,52,77,0.05);
}
@media (max-width: 900px) {
  .section {
    padding: 32px 8px;
    margin-bottom: 36px;
  }
}

/* NAVIGATION & HEADER */
header {
  position: relative;
  background: linear-gradient(90deg, #24344D 0%, #52498D 100%);
  box-shadow: 0 4px 18px 0 rgba(36,52,77,0.06);
  z-index: 1000;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  justify-content: flex-start;
  padding: 20px 0 20px 0;
}
header nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 0;
  transition: color .18s;
  position: relative;
  padding: 2px 0;
}
header nav a:hover, header nav a:focus {
  color: #F1AE3D;
}
header nav a img {
  height: 36px;
  margin-right: 16px;
  vertical-align: middle;
}
.cta-button {
  background: linear-gradient(90deg, #F1AE3D 0%, #fabc5e 100%);
  color: #24344D;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.07rem;
  font-weight: bold;
  border: none;
  border-radius: 13px;
  padding: 13px 30px;
  margin-left: 16px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
  box-shadow: 0 2px 8px 0 rgba(241,174,61,0.08);
  text-align: center;
  outline: none;
  display: inline-block;
  letter-spacing: 0.015em;
}
.cta-button.secondary {
  background: linear-gradient(90deg, #fff 0%, #ebeef0 100%);
  color: #24344D;
  border: 1.5px solid #F1AE3D;
}
.cta-button:hover, .cta-button:focus {
  background: #24344D;
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(36,52,77,0.12);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  margin-left: auto;
  align-self: center;
  transition: color 0.15s;
  z-index: 1202;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #F1AE3D;
}
@media (max-width: 950px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #24344D 85%, #F1AE3D 100%);
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(0.83,0,0.17,1);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 0 24px 0;
  box-shadow: 2px 0 32px 0 rgba(36,52,77,0.11);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.3rem;
  position: absolute;
  top: 22px;
  right: 24px;
  cursor: pointer;
  z-index: 1203;
  padding: 8px 12px;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F1AE3D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  gap: 0;
  margin-top: 64px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 18px 34px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  transition: background 0.16s, color 0.16s;
  width: 100%;
  display: block;
  text-align: left;
  outline: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(241,174,61,0.14);
  color: #F1AE3D;
}
@media (min-width: 951px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none;
  }
}

/* MAIN LAYOUT & FLEXBOX CARDS */
.card-container, .service-cards, .feature-grid, .testimonials, .content-grid, .process-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 300px;
  min-width: 260px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-grid {
  gap: 24px;
  margin-top: 18px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #f4f6fa;
  border-radius: 15px;
  box-shadow: 0 2px 12px 0 rgba(36,52,77,0.05);
  padding: 24px 22px 20px 22px;
  min-width: 210px;
  flex: 1 1 220px;
  transition: box-shadow .18s;
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 3px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 6px 20px 0 rgba(241,174,61,0.08);
}

.service-cards {
  gap: 24px;
  margin: 18px 0 20px 0;
}
.service-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(36,52,77,0.06);
  padding: 26px 20px;
  flex: 1 1 220px;
  transition: box-shadow .17s;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 6px 20px 0 rgba(241,174,61,0.09);
}

.process-list {
  gap: 28px;
  margin: 18px 0;
}
.process-step {
  background: #f7fafc;
  border-radius: 13px;
  padding: 24px 18px;
  flex: 1 1 220px;
  min-width: 200px;
  box-shadow: 0 1px 8px 0 rgba(36,52,77,0.04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.17s;
}
.process-step:hover {
  box-shadow: 0 5px 20px 0 rgba(36,52,77,0.10);
}
.process-step h3 {
  margin-bottom: 10px;
}

.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;
}
.card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
}

/* TESTIMONIALS */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 8px 0;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  color: #24344D;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(36,52,77,0.08);
  min-width: 220px;
  flex: 1 1 320px;
  margin-bottom: 16px;
  transition: box-shadow 0.2s;
}
.testimonial-card p {
  color: #24344D;
  font-style: italic;
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.testimonial-meta {
  font-size: .98rem;
  color: #AEB3B7;
  font-style: normal;
  font-weight: 400;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 5px 20px 0 rgba(241,174,61,0.10);
}

/* CONTACT & INFO BLOCKS */
.contact-block {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.address-details, .contact-methods {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.address-details img, .contact-methods img {
  width: 22px;
  height: 22px;
  margin-right: 7px;
  vertical-align: text-bottom;
}
.contact-info-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eceff2;
  color: #AEB3B7;
  border-radius: 11px;
  padding: 34px 0;
  margin: 10px 0;
  font-size: 1.0rem;
}
.contact-info-summary img{
  max-width: 50px;
}
/**** LISTS & PROCESS STEPS ****/
.process-steps {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin: 16px 0;
  counter-reset: process-counter;
}
.process-steps li {
  flex: 1 1 220px;
  background: #f7fafc;
  border-radius: 13px;
  box-shadow: 0 1px 8px 0 rgba(36,52,77,0.04);
  padding: 22px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 0;
  position: relative;
  list-style: none;
  transition: box-shadow 0.17s;
}
.process-steps li img {
  width: 32px;
  height: 32px;
  margin-bottom: 7px;
}
.process-steps li strong {
  font-size: 1.08rem;
  margin-top: 7px;
}
.process-steps li span {
  margin-top: 7px;
  color: #595d6b;
  font-size: 1rem;
}
.process-steps li:hover {
  box-shadow: 0 7px 21px 0 rgba(241,174,61,0.08);
}

/**** FOOTER ****/
footer {
  background: linear-gradient(90deg, #24344D 0%, #52498D 100%);
  color: #fff;
  padding-top: 30px;
  padding-bottom: 20px;
  margin-top: 40px;
}
footer nav {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 11px;
  flex-wrap: wrap;
  justify-content: center;
}
footer nav a {
  color: #fff;
  opacity: 0.92;
  font-size: .95rem;
  transition: color 0.18s, opacity 0.2s;
}
footer nav a:hover, footer nav a:focus {
  color: #F1AE3D;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  font-size: .94rem;
  color: #AEB3B7;
  margin-top: 8px;
}

/**** COOKIE CONSENT BANNER ****/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #24344D;
  color: #fff;
  border-top: 2px solid #F1AE3D;
  z-index: 9001;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 32px;
  box-shadow: 0 -2px 16px 0 rgba(36,52,77,0.11);
  font-size: 1rem;
  animation: fadein-cookie 0.7s;
}
@keyframes fadein-cookie {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-banner-text {
  flex: 1 1 340px;
  margin-right: 30px;
  color: #fff;
}
.cookie-banner .cookie-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.cookie-banner button {
  background: #F1AE3D;
  color: #24344D;
  border: none;
  border-radius: 9px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 22px;
  cursor: pointer;
  margin: 0;
  transition: background 0.15s, color 0.16s, box-shadow 0.17s;
  box-shadow: 0 1px 4px 0 rgba(36,52,77,0.10);
  outline: none;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #24344D;
  color: #F1AE3D;
}
.cookie-banner .cookie-settings-btn {
  background: #fff;
  color: #24344D;
  border: 1.5px solid #F1AE3D;
  margin-left: 4px;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #F1AE3D;
  color: #fff;
}
@media (max-width: 800px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 10px 22px 10px;
  }
  .cookie-banner .cookie-banner-text {
    margin-right: 0;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,52,77,0.70);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10006;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  max-width: 380px;
  width: 95vw;
  box-shadow: 0 15px 64px 0 rgba(36,52,77,0.22);
  padding: 36px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: cookie-modal-in 0.45s;
}
@keyframes cookie-modal-in {
  0% { transform: scale(0.9) translateY(70px); opacity: 0; }
  70% { opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 1.45rem;
  margin-bottom: 18px;
  color: #24344D;
}
.cookie-categories {
  width: 100%;
  margin-bottom: 15px;
}
.cookie-category {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-size: 1.08rem;
  color: #24344D;
  flex: 1 1 160px;
}
.cookie-category input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #F1AE3D;
}
.cookie-legend {
  font-size: 0.98rem;
  color: #767a87;
  margin-left: 4px;
}
.cookie-category.essential label {
  font-style: italic;
  color: #595d6b;
}

.cookie-modal-actions {
  display: flex;
  gap: 12px;
  width: 100%;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  font-size: 1rem;
  border-radius: 8px;
  padding: 9px 18px;
  background: #F1AE3D;
  color: #24344D;
  border: none;
  cursor: pointer;
  transition: background 0.14s, color 0.11s;
}
.cookie-modal-actions button.secondary {
  background: #fff;
  color: #24344D;
  border: 1.5px solid #F1AE3D;
}
.cookie-modal-actions button.secondary:hover {
  background: #F1AE3D;
  color: #fff;
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  position: absolute;
  top: 12px;
  right: 16px;
  color: #24344D;
  cursor: pointer;
  transition: color .16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #F1AE3D;
}

/* GENERAL BUTTONS */
button, input[type="submit"] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  outline: none;
}
button:active {
  outline: none;
}

/* THANK YOU SECTION */
.thank-you-section {
  background: linear-gradient(90deg, #f9e7c2 0%, #fdf6ea 88%);
  border-radius: 13px;
  padding: 38px 18px 28px 18px;
  margin: 18px 0;
  box-shadow: 0 1px 12px 0 rgba(241,174,61,0.08);
}
.thank-you-section p, .thank-you-section ul {
  margin-bottom: 12px;
}
.thank-you-section ul {
  list-style: disc inside;
  color: #b3964e;
}

/* TEXT SECTIONS, HIERARCHY */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: #24344D;
}
.text-section h2 {
  margin-bottom: 12px;
}
.text-section p {
  font-size: 1.06rem;
  margin-bottom: 0.6em;
}

/**** RESPONSIVE DESIGN ****/
@media (max-width: 1150px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 1000px) {
  .feature-grid, .service-cards, .card-container, .testimonials {
    gap: 16px;
  }
  .content-grid {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-cards, .testimonials, .card-container {
    flex-direction: column;
  }
  .process-list {
    flex-direction: column;
    gap: 16px;
  }
  .process-steps {
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 730px) {
  .contact-block, .card-grid, .content-grid {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  footer nav {
    gap: 14px;
    font-size: .98rem;
  }
  .footer-contact {
    font-size: .92rem;
  }
}
@media (max-width: 660px) {
  .container {
    padding-left: 3vw;
    padding-right: 3vw;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .thank-you-section {
    padding: 18px 5px 18px 8px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .section {
    margin-bottom: 26px;
    padding: 18px 4vw;
    border-radius: 10px;
  }
}
@media (max-width: 480px) {
  .cookie-banner {
    font-size: .94rem;
    padding: 10px 3vw 10px 3vw;
  }
}

/* SPACING UTILITIES */
.mb-32 { margin-bottom: 32px; }
.mb-24 { margin-bottom: 24px; }
.mb-16 { margin-bottom: 16px; }
.mt-24 { margin-top: 24px; }
.pt-16 { padding-top: 16px; }

/**** SCROLLBAR STYLING ****/
::-webkit-scrollbar {
  width: 10px;
  background: #eceff3;
}
::-webkit-scrollbar-thumb {
  background: #AEB3B7;
  border-radius: 5px;
}

/**** FOCUS STATES & MICROINTERACTIONS ****/
a:focus, button:focus, .cta-button:focus, input:focus {
  outline: 2px solid #F1AE3D;
  outline-offset: 1px;
  border-radius: 3px;
}
input, textarea, select {
  border: 1.5px solid #ccc;
  border-radius: 7px;
  padding: 9px 13px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  box-sizing: border-box;
  margin-bottom: 14px;
}
input:focus, textarea:focus, select:focus {
  border-color: #F1AE3D;
  background: #fffceb;
}

/**** PRINT & ACCESSIBILITY ****/
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal, footer { display: none !important; }
  .section, .container { box-shadow: none !important; background: #fff !important; }
}

/**** VISUAL HIERARCHY SHADOWS ****/
.section, .feature-item, .testimonial-card, .service-card, .process-step, .thank-you-section {
  box-shadow: 0 1px 12px 0 rgba(36,52,77,0.06);
}
.footer-contact p{
  color: white;
}
/* Hide [Kartenansicht kommt hier hin] as no map available */
.map-placeholder {
  background: #f8fafc;
  color: #AEB3B7;
  border: 1px dashed #AEB3B7;
  border-radius: 9px;
  padding: 32px 0;
}
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  margin-bottom: 30px;
}

footer {
  margin-top: auto;
}
/**** Z-INDEX MANAGEMENT ****/
header { z-index: 1000; }
.mobile-menu { z-index: 1200; }
.mobile-menu-toggle { z-index: 1202; }
.cookie-banner { z-index: 9001; }
.cookie-modal { z-index: 10006; }

/**** NO GRID, FLEX ONLY ****/
/* No display:grid, grid-*, column-*, or break-inside anywhere. */