/* ===== CSS RESET & BASELINE ===== */
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: #F1F1F1; color: #2B3440; font-family: Arial, Montserrat, 'Arial', sans-serif; font-size: 16px; min-height: 100vh; }
ul,ol { list-style: none; }
a { color: inherit; text-decoration: none; background: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: none; transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
:focus { outline: 2px solid #58A4B0; outline-offset: 2px; }

/* ===== GLOBAL TYPOGRAPHY ===== */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 2.75rem;
  letter-spacing: -1px;
  margin-bottom: 24px;
  color: #2B3440;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 20px;
  color: #2B3440;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2B3440;
  margin-bottom: 10px;
}
p, li, blockquote, .service-price {
  font-family: Arial,sans-serif;
  font-size: 1rem;
  color: #2B3440;
}
strong, b { font-weight: 700; }
blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #2B3440;
}

/* ====== CONTAINER & LAYOUT ====== */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section { margin-bottom: 60px; padding: 40px 20px; background: #fff; border-radius: 18px; box-shadow: 0 6px 40px rgba(43,52,64,0.06); }

/* ALTERNATE SECTIONS */
.hero, .confirmation {
  background: #58A4B0;
  color: #fff;
  padding: 60px 0 50px 0;
  margin-bottom: 50px;
}
.hero h1, .hero h2, .confirmation h1 { color: #fff; }

/* ===== HEADER ===== */

header { background: #fff; box-shadow: 0 2px 14px rgba(43,52,64,0.04); position: sticky; top: 0; z-index: 30; }
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1180px;
  margin: 0 auto;
  gap: 18px;
}
.header-wrapper img { height: 42px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  color: #2B3440;
  transition: background .18s, color .18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #58A4B0;
  color: #fff;
}

.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.06rem;
  background: #2B3440;
  color: #fff;
  border-radius: 12px;
  padding: 12px 26px;
  margin-left: 16px;
  transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
  box-shadow: 0 4px 20px rgba(43,52,64,0.07);
  position: relative;
  z-index: 1;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #58A4B0;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 24px rgba(88,164,176,0.14);
}

.mobile-menu-toggle {
  display: none;
  background: #58A4B0;
  color: #fff;
  border-radius: 8px;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  transition: background 0.16s, color 0.16s;
  z-index: 50;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #2B3440;
  color: #fff;
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(43,52,64,0.98);
  z-index: 110;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.75,0,.18,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 60px;
  padding-left: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: #2B3440;
  color: #fff;
  border-radius: 50%;
  font-size: 2.2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 125;
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #58A4B0;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-left: 40px;
  padding-top: 22px;
  width: calc(100vw - 60px);
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  padding: 12px 0 12px 0;
  border-bottom: 2px solid #58A4B0;
  margin-right: 16px;
  transition: color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #58A4B0;
}

/* ===== HERO STYLES ===== */
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center; justify-content: center;
}
.hero .content-wrapper {
  align-items: center; text-align: center;
  gap: 18px;
}
.hero p {
  color: #fff;
  font-size: 1.22rem;
  font-weight: 400;
  margin-bottom: 20px;
}

/* ===== FEATURE BLOCKS ===== */
.features {
  background: #fff;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 18px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-top: 24px;
}
.feature {
  background: #F1F1F1;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(43,52,64,0.06);
  padding: 28px 22px;
  flex: 1 1 230px;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
  position: relative;
}
.feature img {
  width: 48px; height: 48px; margin-bottom: 10px;
}
.feature h3 { color: #2B3440; font-size: 1.25rem; font-weight: 800; margin-bottom: 0; }

.feature p { color: #2B3440; opacity: 0.90; }

/* Features List (about, architektur, etc) */
.features ul {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.features ul li {
  font-size: 1.05rem;
  background: #F1F1F1;
  padding: 15px 18px;
  border-radius: 13px;
  font-family: Arial, sans-serif;
  color: #2B3440;
  font-weight: 600;
}

/* ===== SERVICES ===== */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 16px;
}
.service {
  background: #fff;
  border: 2.5px solid #58A4B0;
  border-radius: 16px;
  box-shadow: 0 3px 10px rgba(88,164,176,0.08);
  padding: 24px 20px;
  flex: 1 1 216px;
  min-width: 200px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 11px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.service:hover, .service:focus-within {
  box-shadow: 0 10px 36px rgba(88,164,176,0.13); transform: translateY(-2px) scale(1.028);
}
.service h3 {
  color: #2B3440;
  font-size: 1.15rem;
  font-weight: 800;
}
.service-price {
  background: #2B3440;
  color: #fff;
  border-radius: 8px;
  padding: 7px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.03rem;
  display: inline-block;
  margin-top: 10px;
}

.services ul, .services-list ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 0; padding: 0;
}
.services ul li {
  background: #F1F1F1;
  color: #2B3440;
  font-family: Arial, sans-serif;
  font-weight: 600;
  border-radius: 11px;
  padding: 12px 15px;
  font-size: 1rem;
}
.services .service-price {
  margin-top: 16px;
}

/* ===== TESTIMONIALS ===== */
.testimonial {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: #F1F1F1;
  padding: 26px 26px 18px 26px;
  border-radius: 14px;
  min-width: 220px; max-width: 370px;
  box-shadow: 0 1px 12px rgba(43,52,64,0.03);
  border-left: 5px solid #58A4B0;
}
.testimonial-card blockquote {
  margin-bottom: 8px; color: #2B3440; font-size: 1.13rem; line-height: 1.6;
}
.testimonial-author {
  font-family: 'Montserrat', Arial, sans-serif; font-weight: 800; font-size: 1rem; color: #2B3440;
  margin-top: 2px;
}


/* ===== CONTACT/CALL-TO-ACTION ===== */
.contact-short-info, .address-block, .contact-information {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.map-embed {
  margin-top: 16px;
  color: #58A4B0;
  font-style: italic;
}
.contact .cta-btn, .confirmation .cta-btn {
  margin: 16px 0 12px 0;
  align-self: flex-start; min-width: 210px;
}

/* ===== LEGAL PAGE STYLES (Datenschutz, GDPR, Cookie) ===== */
.legal {
  background: #fff;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 18px;
  box-shadow: 0 6px 30px rgba(43,52,64,0.10);
}
.legal .container { max-width: 850px; }
.legal h1, .legal h2 {
  color: #2B3440;
}
.legal ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-left: 22px;
  margin-bottom: 24px;
}
.legal ul li {
  font-size: 1.05rem;
  font-family: Arial, sans-serif;
  color: #2B3440;
  font-weight: 600;
}

/* ===== FOOTER ===== */
footer {
  background: #2B3440;
  color: #fff;
  padding: 32px 0 18px 0;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-wrapper img {
  height: 38px; width: auto;
  margin-bottom: 16px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 3px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  opacity: .95;
  transition: color 0.18s, opacity 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus { color: #58A4B0; opacity: 1; }
.footer-address p {
  font-size: 0.95rem;
  color: #BFD8DB;
  margin-top: 5px;
}

/* ====== COOKIE CONSENT BANNER & MODAL ====== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #2B3440;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 18px;
  box-shadow: 0 -4px 26px rgba(43,52,64,0.18);
  z-index: 2000;
  animation: cookieBannerSlideIn 0.6s cubic-bezier(.67,.01,.26,1);
}
@keyframes cookieBannerSlideIn {
  0% { transform: translateY(110%); opacity: 0; } 100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  max-width: 750px;
  font-size: 1rem;
  color: #fff;
  opacity: .93;
}
.cookie-banner .cookie-actions {
  display: flex; flex-wrap: wrap;
  gap: 12px;
  margin-top: 5px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 8px;
  padding: 9px 18px;
  border: none;
  transition: background 0.18s, color 0.18s, transform 0.14s;
}
.cookie-btn.accept {
  background: #58A4B0;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus { background: #1f252c; color: #fff; }
.cookie-btn.reject {
  background: #F1F1F1;
  color: #2B3440;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus { background: #EAEAEA; }
.cookie-btn.settings {
  background: #fff;
  color: #58A4B0;
  border: 2px solid #58A4B0;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #58A4B0; color: #fff;
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(43,52,64,0.65);
  z-index: 2500;
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn 0.27s ease;
}
@keyframes fadeIn { from {opacity:0;} to {opacity:1;} }
.cookie-modal {
  background: #fff;
  color: #2B3440;
  padding: 38px 22px 26px 22px;
  border-radius: 16px;
  max-width: 380px;
  width: 96vw;
  box-shadow: 0 18px 64px rgba(43,52,64,0.28);
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: modalPop .28s cubic-bezier(.5,-.27,.6,1.45);
  position: relative;
}
@keyframes modalPop { 0% {transform:scale(.88); opacity:0.3;} 100% {transform:scale(1); opacity:1;} }
.cookie-modal-close {
  position: absolute; top: 14px; right: 18px;
  background: #58A4B0; color: #fff;
  border-radius: 50%; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  border: none;
  transition: background 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { background: #2B3440; }
.cookie-modal h3 { font-size: 1.09rem; font-weight: 800; }
.cookie-modal .cookie-categories {
  display: flex; flex-direction: column; gap: 14px; margin-bottom: 10px;
}
.cookie-category {
  background: #F1F1F1; border-radius: 8px;
  padding: 10px 17px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.cookie-category label {
  font-weight: bold; letter-spacing: .03em;
  font-size: 1rem;
}
.cookie-modal .toggle-switch {
  display: inline-flex; align-items: center; gap: 5px;
}
.toggle-switch input[type="checkbox"] { display: none; }
.toggle-switch .slider {
  width: 32px; height: 18px;
  background: #58A4B0;
  border-radius: 20px;
  position: relative;
  transition: background 0.21s;
  cursor: pointer;
}
.toggle-switch .slider:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 12px; height: 12px;
  background: #fff;
  border-radius: 50%;
  transition: transform .19s;
}
.toggle-switch input[type="checkbox"]:checked + .slider {
  background: #2B3440;
}
.toggle-switch input[type="checkbox"]:checked + .slider:before {
  transform: translateX(14px);
}
.cookie-modal .cookie-actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

/* ===== MEDIA QUERIES (RESPONSIVE) ===== */
@media (max-width: 1020px) {
  .container { max-width: 97vw; }
  .header-wrapper, .footer-wrapper { max-width: 97vw; }
}
@media (max-width: 900px) {
  .feature-grid, .services-list, .testimonial-list {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .footer-wrapper { flex-direction: column; gap: 18px; align-items: flex-start; }
  .main-nav { gap: 14px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2.15rem; }
  h2 { font-size: 1.39rem; }
  .header-wrapper { padding: 13px 10px; gap: 10px; }
  .main-nav { display: none; }
  .cta-btn { min-width: 0; margin-left: 7px; }
  .mobile-menu-toggle { display: flex; }
  .feature-grid,.services-list,.testimonial-list {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .features, .services, .testimonial, .contact, .section, .legal {
    padding: 28px 6px;
    border-radius: 12px;
  }
  .footer-wrapper { flex-direction: column; gap: 13px; align-items: flex-start; padding: 0 9px; }
  .cookie-banner { padding: 16px 8px; }
}
@media (max-width: 570px) {
  .container { padding: 0 7px; }
  .header-wrapper { padding: 10px 3px; }
  .feature,.service,.testimonial-card { padding: 18px 9px; border-radius: 9px; }
}

/* ===== BUTTONS & INTERACTIONS ===== */
a, button, .cta-btn, input, select {
  transition: color 0.18s, background 0.18s, box-shadow 0.17s, transform 0.17s;
}
a:focus, button:focus, .cta-btn:focus { outline: 2px solid #58A4B0; outline-offset: 2px; }

/* micro-interactions */
.cta-btn:active { transform: scale(.98); }
.card:hover, .feature:hover, .service:hover { box-shadow: 0 12px 30px rgba(88,164,176,0.13); transform: translateY(-1px) scale(1.012); }

/* Decorative geometric shape (optional, can be adjusted for the design) */
.hero:before {
  content: '';
  display: block;
  position: absolute;
  top: -60px; left: -35px;
  width: 160px; height: 160px;
  background: #58A4B0;
  opacity: 0.17;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: 0;
  pointer-events: none;
}
.hero { position: relative; overflow-x: hidden; }
.hero .content-wrapper { position: relative; z-index: 5; }

/* ===== FLEXBOX MANDATORY ALIGNMENTS ===== */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* EXTRA: Utility classes for spacing/alignment */
.mt-32 { margin-top: 32px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }

/* ===== PRINT STYLES (optional) ===== */
@media print {
  header, footer, .cookie-banner, .mobile-menu, .mobile-menu-toggle { display: none !important; }
  body { color: #222 !important; background: #fff !important; }
}

/* ==== HIDING ELEMENTS ==== */
.mobile-menu { display: none; }
.mobile-menu.active { display: flex; }

/* ===== ACCESSIBLE HIDE CLASS ===== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
section {
  padding: 20px 0;
}