/* ========= StadtGestalt style.css ========= */
/* --- CSS RESET & NORMALIZATION --- */
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;
}
body {
  line-height: 1.5;
  background: #F7F7F9;
  color: #23272B;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  background: transparent;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.5, .01, .47, 1.11);
}
img {
  border-style: none;
  max-width: 100%;
  display: block;
}
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
  outline: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* --- FONT FACE --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  background: #F7F7F9;
  color: #23272B;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: .02em;
  color: #23272B;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 115%;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 120%;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.0625rem;
  margin-bottom: 10px;
}

p, .subheadline {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #23272B;
}
.subheadline {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 32px;
  color: #2D323A;
  max-width: 48em;
}

strong { font-weight: 700; }

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

/* --- HEADER --- */
header {
  background: #fff;
  box-shadow: 0 3px 16px 0 rgba(35, 39, 43, 0.06);
  z-index: 30;
  position: sticky;
  top: 0;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 24px;
}
header img {
  height: 42px;
  margin-right: 24px;
}

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #23272B;
  padding: 5px 7px;
  border-radius: 5px;
  transition: background 0.15s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #FFBC42;
  background: #23272B10;
}

.cta.primary {
  background: #FFBC42;
  color: #23272B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  padding: 10px 32px;
  border-radius: 28px;
  border: none;
  box-shadow: 0 2px 10px 0 rgba(50,50,60,.10);
  cursor: pointer;
  transition: background 0.22s, box-shadow 0.18s, color 0.13s;
  margin-left: 12px;
  text-align: center;
  display: inline-block;
}
.cta.primary:hover,
.cta.primary:focus {
  background: #23272B;
  color: #FFBC42;
  box-shadow: 0 4px 22px rgba(35, 39, 43, 0.12);
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  font-size: 2.2rem;
  background: none;
  color: #23272B;
  border: none;
  border-radius: 7px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.14s;
  z-index: 60;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #FFBC42;
  color: #23272B;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #23272B;
  color: #fff;
  z-index: 110;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.60,0,.24,1);
  padding: 36px 24px 24px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 28px;
  background: none;
  color: #fff;
  font-size: 2.1rem;
  border: none;
  cursor: pointer;
  z-index: 120;
  padding: 6px 12px;
  border-radius: 5px;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #FFBC42;
  color: #23272B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 56px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFBC42;
  padding: 14px 0;
  border-radius: 7px;
  transition: background 0.17s, color 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #23272B;
  background: #FFBC42CC;
  outline: none;
}

@media (max-width: 1080px) {
  .container {
    max-width: 100vw;
  }
}

@media (max-width: 1020px) {
  header .container {
    gap: 10px;
  }
  .main-nav {
    gap: 16px;
  }
}

@media (max-width: 930px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .cta.primary {
    margin-left: 0;
  }
}

/* --- MAIN & SECTIONS --- */
main {
  flex: 1 0 auto;
  width: 100%;
  min-height: 66vh;
  background: #F7F7F9;
}

.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.text-section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(35, 39, 43, 0.06);
  padding: 32px 26px;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.city-highlight {
  background: #FFBC42;
  padding: 10px 18px;
  border-radius: 10px;
  color: #23272B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-top: 10px;
}

/* --- FEATURE GRIDS & FLEX RULES --- */
.feature-grid, .service-cards, .card-container, .card-grid, .content-grid, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 10px;
}
.feature-grid {
  gap: 28px;
}
.feature-grid li,
.features li {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 18px #23272b0a;
  padding: 26px 18px;
  min-width: 230px;
  min-height: 144px;
  margin-bottom: 20px;
  text-align: center;
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #23272B;
  font-size: 1rem;
  border: 2.5px solid #FFBC420b;
  transition: box-shadow 0.18s, border 0.18s;
}
.feature-grid li:hover,
.features li:hover {
  border-color: #FFBC42;
  box-shadow: 0 8px 36px #FFBC421c;
}
.feature-grid img,
.features img {
  width: 44px;
  height: 44px;
  margin-bottom: 7px;
  filter: grayscale(30%) contrast(1.25);
}

/* --- SERVICE CARDS --- */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.service-card {
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 330px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 22px 0 #23272B10;
  padding: 26px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  border: 2px solid #FFBC420a;
  transition: box-shadow 0.16s, border-color 0.19s;
  position: relative;
}
.service-card:hover {
  box-shadow: 0 10px 34px 0 #FFBC4217;
  border-color: #FFBC42;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 18px 0 #23272B13;
  padding: 20px 28px;
  margin-bottom: 20px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  color: #23272B;
  border-left: 6px solid #FFBC42;
  position: relative;
  min-width: 200px;
}
.testimonial-card p {
  margin-bottom: 2px;
  color: #23272B;
  font-size: 1.125rem;
}
.testimonial-card span {
  font-style: italic;
  color: #888;
  font-size: 0.98rem;
}

/* --- GENERAL FLEX CONTAINERS --- */
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- MAP PLACEHOLDER --- */
.map-placeholder {
  background: repeating-linear-gradient(-45deg, #FFBC420e, #FFBC420e 8px, #fff 8px, #fff 16px);
  color: #B5B5B5;
  border: 2px dashed #FFBC4233;
  border-radius: 12px;
  height: 200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat';
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* --- LISTS & LINKS --- */
ul, ol {
  margin-left: 18px;
}
ul li, ol li {
  margin-bottom: 9px;
  font-size: 1rem;
  line-height: 1.7;
  color: #23272B;
}
a {
  color: #23272B;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #FFBC42;
  outline: none;
}

.text-section a {
  color: #FFBC42;
  font-weight: 600;
  text-decoration: underline;
}
.text-section a:hover,
.text-section a:focus {
  color: #23272B;
  text-decoration: none;
}

/* --- FOOTER --- */
footer {
  background: #23272B;
  color: #fff;
  padding: 38px 0 0 0;
  border-top: 6px solid #FFBC42;
  margin-top: 70px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: stretch;
}
.footer-nav,
.legal-nav,
.social-media {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.footer-nav a, .legal-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: .98rem;
  font-weight: 700;
  color: #fff;
  padding: 6px 8px;
  border-radius: 3px;
  transition: background 0.17s, color 0.14s;
}
.footer-nav a:hover,
.footer-nav a:focus,
.legal-nav a:hover,
.legal-nav a:focus {
  background: #FFBC42;
  color: #23272B;
}
.social-media {
  gap: 18px;
  margin-bottom: 11px;
}
.social-media a {
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-media img {
  width: 28px;
  height: 28px;
  filter: grayscale(1) contrast(1.1) brightness(1);
  transition: filter 0.18s;
}
.social-media a:hover img,
.social-media a:focus img {
  filter: none;
}
.footer-bottom {
  margin-top: 7px;
  font-size: 0.94rem;
  color: #B5B5B5;
  padding-bottom: 24px;
  letter-spacing: 0.01em;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

/* --- COOKIE CONSENT BANNER --- */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #23272B;
  color: #fff;
  box-shadow: 0 -4px 20px #23272b19;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 36px;
  padding: 20px 40px;
  z-index: 200;
  font-size: 1rem;
  justify-content: space-between;
  width: 100vw;
  min-height: 66px;
  animation: fadeInUp 0.55s;
  will-change: transform, opacity;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}
#cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(70px);
  transition: opacity 0.18s, transform 0.23s;
}
#cookie-banner p {
  margin-right: 18px;
  font-size: 1rem;
  color: #fff;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  font-family: 'Montserrat';
  background: #FFBC42;
  color: #23272B;
  border: none;
  border-radius: 7px;
  padding: 8px 28px;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  cursor: pointer;
  transition: background 0.15s, color 0.14s, box-shadow 0.13s;
  box-shadow: 0 2px 12px 0 #23272B22;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #23272B;
  color: #FFBC42;
}
.cookie-btn.secondary {
  background: #23272B;
  color: #FFBC42;
  border: 2px solid #FFBC42;
  box-shadow: none;
}
.cookie-btn.secondary:hover,
.cookie-btn.secondary:focus {
  background: #FFBC42;
  color: #23272B;
}

/* --- COOKIE MODAL --- */
#cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #23272baa;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
}
#cookie-modal-overlay.open { display: flex; }
#cookie-modal {
  background: #fff;
  color: #23272B;
  border-radius: 16px;
  padding: 32px 32px 24px;
  max-width: 420px;
  box-shadow: 0 6px 44px #23272B44;
  margin: 20px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: popIn 0.36s cubic-bezier(.7,0,.26,1);
  will-change: opacity, transform;
  position: relative;
}
@keyframes popIn {
  from { opacity: 0; transform: scale(.89); }
  to   { opacity: 1; transform: none; }
}
#cookie-modal h2 {
  color: #23272B;
  font-family: 'Montserrat';
  font-size: 1.32rem;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 500;
}
.cookie-toggle {
  width: 38px;
  height: 23px;
  background: #B5B5B5;
  border-radius: 14px;
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}
.cookie-toggle-slider {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,.08);
  transition: left 0.18s, background 0.15s;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  background: #FFBC42;
  left: 18px;
}
.cookie-category.essential label {
  color: #666;
  font-style: italic;
}
#cookie-modal-close {
  background: #23272B;
  color: #fff;
  font-size: 1.1rem;
  border: none;
  border-radius: 6px;
  padding: 6px 16px;
  cursor: pointer;
  align-self: flex-end;
  margin-top: 18px;
  transition: background 0.14s, color 0.09s;
}
#cookie-modal-close:hover,
#cookie-modal-close:focus {
  background: #FFBC42;
  color: #23272B;
}

/* --- BUTTONS --- */
button,
input[type="submit"] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: none;
  cursor: pointer;
  outline: none;
  border-radius: 8px;
  padding: 8px 28px;
  background: #FFBC42;
  color: #23272B;
  font-size: 1rem;
  transition: background 0.14s, color 0.15s, box-shadow 0.12s;
}
button:hover,
button:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
  background: #23272B;
  color: #FFBC42;
  box-shadow: 0 6px 22px #23272b24;
}

/* --- SPACING HELPERS --- */
.mb-8 { margin-bottom: 8px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-32 { margin-bottom: 32px !important; }

/* --- MEDIA QUERIES: RESPONSIVITY --- */
@media (max-width: 790px) {
  .container {
    padding: 0 10px;
  }
  .section, section {
    padding: 26px 4px;
    margin-bottom: 48px;
  }
  .text-section {
    padding: 16px 10px;
    border-radius: 12px;
  }
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.24rem;
  }
  .feature-grid, .service-cards, .card-container, .card-grid, .features {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid li, .features li, .service-card, .testimonial-card {
    min-width: 0;
    max-width: unset;
    width: 100%;
    border-radius: 9px;
    padding: 16px 8px 18px 10px;
  }
  .testimonial-card {
    padding: 14px 12px;
    border-radius: 8px;
  }
}
@media (max-width: 650px) {
  .container {
    padding: 0 2vw;
  }
  .section, section {
    margin-bottom: 32px;
    padding: 10px 2vw;
  }
  .feature-grid, .service-cards, .card-container, .card-grid, .footer-nav, .legal-nav {
    gap: 12px;
    flex-direction: column;
    align-items: stretch;
  }
  .footer-nav, .legal-nav, .social-media {
    align-items: flex-start;
  }
  .footer-bottom {
    padding-bottom: 12px;
  }
  #cookie-banner {
    flex-direction: column;
    gap: 7px;
    padding: 19px 12px;
  }
}
@media (max-width: 420px) {
  h1 {
    font-size: 1.15rem;
    margin-bottom: 6px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
}

/* --- GEOMETRIC STRUCTURED SHAPES (decorative only!) --- */
.section:before, .section:after, section:before, section:after {
  content: '';
  display: none;
}

/* --- MISC --- */
::-webkit-scrollbar {
  width: 10px;
  background: #F7F7F9;
}
::-webkit-scrollbar-thumb {
  background: #B5B5B5;
  border-radius: 8px;
  min-height: 36px;
}

/* =============== */
/* END OF STYLE.CSS */