/* ==== CSS RESET & NORMALIZATION ==== */
html {
  box-sizing: border-box;
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #23344A;
  background-color: #F6F7F9;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}
a {
  color: #7E9BAE;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #fd914b;
  outline: none;
}
ul, ol {
  padding-left: 24px;
}
strong, b {
  font-weight: 700;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}

/* ==== BASE TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #23344A;
  line-height: 1.2;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
p {
  margin-bottom: 16px;
  color: #23344A;
}

/* ==== CONTAINER & LAYOUTS ==== */
.container {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  width: 100%;
}
.content-wrapper {
  padding: 32px 0;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(35,52,74, 0.05);
}
.text-section {
  margin: 32px 0 0 0;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  padding: 26px 22px;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(35,52,74,0.07);
  flex: 1 1 300px;
  min-width: 260px;
  transition: box-shadow 0.23s, transform 0.19s;
}
.card:hover {
  box-shadow: 0 5px 18px 0 rgba(253, 145, 75, 0.13);
  transform: translateY(-2px) scale(1.025);
}
.content-grid, .city-list, .property-list, .city-grid, .guide-list, .faq-accordion {
  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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #FFF8F3;
  padding: 20px;
  margin-bottom: 24px;
  border-radius: 18px;
  box-shadow: 0px 2px 8px rgba(253, 145, 75, 0.10);
  color: #23344A;
  max-width: 650px;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  color: #23344A;
  margin-bottom: 8px;
}
.testimonial-card p {
  margin-bottom: 0;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FAF6F1;
  padding: 22px 18px;
  border-radius: 16px;
  box-shadow: 0 1px 5px 0 rgba(253,145,75,0.04);
  margin-bottom: 18px;
}

.city-list > div, .property-list > div, .city-grid > div, .guide-list > div {
  flex: 1 1 300px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1px 7px 0 rgba(35,52,74,0.06);
  padding: 26px 20px;
  margin-bottom: 20px;
  min-width: 260px;
  transition: box-shadow 0.20s, transform 0.15s;
}
.city-list > div:hover, .property-list > div:hover, .city-grid > div:hover, .guide-list > div:hover {
  box-shadow: 0 4px 14px 0 rgba(253, 145, 75, 0.10);
  transform: translateY(-1.5px) scale(1.013);
}

.topics-tags {
  margin: 16px 0 32px 0;
  font-size: 0.98rem;
  background: #f6dfcf;
  color: #23344A;
  display: inline-block;
  padding: 8px 18px;
  border-radius: 36px;
}

.popular-articles {
  margin-bottom: 18px;
}
.popular-articles h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.popular-articles ul {
  list-style: disc inside;
}
.popular-articles li {
  margin-bottom: 6px;
}
.popular-articles a {
  text-decoration: underline;
  color: #23344A;
  transition: color 0.18s;
}
.popular-articles a:hover {
  color: #fd914b;
}

.faq-accordion > div {
  flex: 1 1 260px;
  background: #fdf5ef;
  border-radius: 13px;
  padding: 20px 16px;
  margin-bottom: 12px;
}

/* ==== HEADER ==== */
header {
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(35,52,74,0.06);
  position: sticky;
  top: 0;
  z-index: 12;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px;
  height: 84px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #23344A;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 7px;
  transition: background 0.17s, color 0.15s;
}
header nav a:hover, header nav a:focus {
  background: #FD914B77;
  color: #fff;
}
header img {
  max-height: 44px;
  border-radius: 0;
  margin-right: 10px;
}

.cta-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #FD914B;
  color: #fff;
  border-radius: 21px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.07rem;
  letter-spacing: 0.01rem;
  box-shadow: 0 4px 16px 0 rgba(253,145,75,0.11);
  transition: background 0.23s, box-shadow 0.2s, transform 0.17s;
  margin-left: 18px;
  cursor: pointer;
  border: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #23344A;
  color: #fff;
  transform: translateY(-1.5px) scale(1.025);
  box-shadow: 0 8px 25px 0 rgba(35,52,74,0.14);
}

/* ---- Mobile Menu ---- */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: #FD914B;
  color: #fff;
  border: none;
  border-radius: 11px;
  padding: 6px 13px;
  margin-left: 18px;
  transition: background 0.18s, color 0.19s, box-shadow 0.18s;
  box-shadow: 0 1px 7px rgba(253,145,75, 0.12);
  cursor: pointer;
  z-index: 101;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #23344A;
  color: #fff;
  box-shadow: 0 2px 12px rgba(35,52,74,0.12);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 0 2px 28px 0 rgba(35,52,74,0.15);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.81,-0.02,.15,1.18);
  will-change: transform;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #FD914B;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 10px;
  align-self: flex-end;
  margin-bottom: 18px;
  padding: 4px 12px;
  transition: background 0.19s;
  cursor: pointer;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #23344A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 9px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #23344A;
  background: #F6F7F9;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 9px;
  padding: 12px 20px;
  margin-left: -12px;
  transition: background 0.17s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fd914b;
  color: #fff;
}

/* ==== MAIN & FLEX CONTENT ==== */
main {
  flex: 1 0 auto;
  margin-bottom: 42px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
/* Guarantee spacing between sections */
section + section {
  margin-top: 0px;
}

/* ==== TABLE STYLES FOR STÄDTE ==== */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 32px 0 24px 0;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 1px 8px 0 rgba(35,52,74,0.06);
}
th, td {
  padding: 16px 12px;
  text-align: left;
  border-bottom: 1px solid #F6DFCF;
}
th {
  background: #fae5d2;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #23344A;
}
tr:last-child td {
  border-bottom: none;
}

/* ==== FOOTER ==== */
footer {
  background: #23344A;
  color: #fff;
  padding: 48px 0 24px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-logo img {
  height: 40px;
  border-radius: 0;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.89;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 2px 0;
  transition: opacity 0.12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  opacity: 1;
  text-decoration: underline;
}
.footer-contact {
  font-size: 0.97rem;
}
.footer-contact p {
  margin-bottom: 7px;
  color: #fff;
}
.footer-contact img {
  display: inline-block;
  margin-right: 7px;
  vertical-align: middle;
  height: 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 18px 0;
}
.footer-social a {
  background: #FD914B;
  border-radius: 8px;
  display: inline-flex;
  padding: 5px 8px;
  transition: background 0.15s, box-shadow 0.15s;
}
.footer-social a:hover, .footer-social a:focus {
  background: #7E9BAE;
}
.footer-social img {
  height: 22px;
  width: 22px;
}

.newsletter-signup {
  background: #fd914b;
  color: #fff;
  padding: 18px 26px;
  border-radius: 16px;
  font-size: 1.04rem;
  max-width: 390px;
  margin-top: 7px;
  box-shadow: 0 2px 9px 0 rgba(253,145,75,0.10);
}
.newsletter-signup p {
  margin-bottom: 10px;
  color: #fff;
}

footer .cta-btn {
  margin-top: 5px;
  margin-left: 0;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 24px;
  width: 100vw;
  max-width: 100vw;
  background: #FFF8F3;
  color: #23344A;
  z-index: 2000;
  padding: 24px 20px 20px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  box-shadow: 0 -2px 18px 0 rgba(253,145,75,0.17);
  border-radius: 19px 19px 0 0;
  gap: 28px;
  opacity: 1;
  transition: opacity 0.35s;
}
.cookie-banner__content {
  flex: 1;
  font-size: 1.05rem;
  line-height: 1.5;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-banner-btn, .cookie-banner-settings {
  padding: 10px 22px;
  border-radius: 15px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border: none;
  background: #fd914b;
  color: #fff;
  font-weight: 500;
  transition: background 0.18s, color 0.12s, box-shadow 0.16s;
  box-shadow: 0 1px 7px 0 rgba(253,145,75,0.10);
  cursor: pointer;
}
.cookie-banner-btn.reject {
  background: #7E9BAE;
}
.cookie-banner-btn:focus, .cookie-banner-btn:hover, .cookie-banner-settings:focus, .cookie-banner-settings:hover {
  background: #23344A;
  color: #fff;
  box-shadow: 0 3px 15px 0 rgba(35,52,74,0.14);
}
.cookie-banner-hide {
  opacity: 0;
  pointer-events: none;
}

/* ==== COOKIE MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,52,74,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2010;
  opacity: 1;
  transition: opacity 0.22s;
}
.cookie-modal {
  background: #FFF8F3;
  color: #23344A;
  padding: 32px 28px 26px 28px;
  border-radius: 21px;
  width: 95%;
  max-width: 400px;
  box-shadow: 0 7px 36px 0 rgba(253,145,75,0.16);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 7px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 12px;
  font-size: 1.05rem;
}
.cookie-modal-category input[type="checkbox"] {
  width: 21px;
  height: 21px;
  accent-color: #fd914b;
  border-radius: 8px;
}
.cookie-modal-essential {
  color: #7E9BAE;
  font-size: 0.97rem;
  margin-left: 4px;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  right: 20px;
  top: 18px;
  font-size: 1.6rem;
  background: #fd914b;
  color: #fff;
  border-radius: 8px;
  border: none;
  padding: 2px 13px;
  cursor: pointer;
  transition: background 0.19s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #23344A;
  color: #fff;
}

/* ==== ICONS ==== */
[class*='icon-'] {
  vertical-align: middle;
  height: 22px;
  width: 22px;
  margin-right: 4px;
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 1080px) {
  .container {
    max-width: 96vw;
  }
  header .container,
  footer .container {
    flex-wrap: wrap;
    gap: 18px;
  }
  .footer-social,
  .newsletter-signup {
    margin-top: 16px;
  }
}
@media (max-width: 900px) {
  header .container,
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer-logo {
    order: 0;
  }
  .footer-contact {
    order: 2;
  }
  .footer-contact p {
    font-size: 1em;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 98%;
  }
  h1 {
    font-size: 2.05rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  h3 {
    font-size: 1.15rem;
  }
  .container {
    padding: 0 4vw;
  }
  header nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  section {
    padding: 23px 0px;
  }
  .section {
    padding: 32px 7px;
    margin-bottom: 38px;
  }
  .content-grid, .content-wrapper, .city-list, .property-list, .city-grid, .guide-list, .faq-accordion {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .news-signup {
    max-width: 100%;
    padding: 18px 9px;
  }
  .topics-tags {
    margin: 12px 0 18px 0;
    padding: 6px 11px;
  }
}
@media (max-width: 520px) {
  th, td {
    padding: 10px 6px;
    font-size: 0.96em;
  }
  .newsletter-signup {
    font-size: 0.94rem;
    padding: 12px 7px;
    max-width: 100%;
  }
  .footer-contact {
    font-size: 0.9rem;
  }
  .topics-tags {
    font-size: 0.9rem;
    padding: 5px 7px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 6px 12px 10px;
  }
  .cookie-banner__actions {
    gap: 6px;
  }
  .cookie-modal {
    padding: 16px 7px 13px 11px;
  }
}
/* ==== ACCESSIBILITY FOCUS ==== */ 
a:focus, button:focus, .cta-btn:focus, .mobile-menu-toggle:focus, .cookie-banner-btn:focus, .cookie-banner-settings:focus {
  outline: 2.8px solid #fd914b;
  outline-offset: 2px;
  z-index: 3;
}

/* === Micro-interactions & Transitions === */
.card, .city-list > div, .property-list > div, .city-grid > div, .guide-list > div, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.13s;
}
.city-list > div:active, .property-list > div:active {
  transform: scale(0.988);
}

.cta-btn:active {
  transform: scale(0.97);
}

.mobile-nav a:active {
  background: #fd914b;
  color: #fff;
}

/* === Utility classes for spacing === */
.mb-24 { margin-bottom: 24px; }
.mt-16 { margin-top: 16px; }
.py-24 { padding-top: 24px; padding-bottom: 24px; }
.px-20 { padding-left: 20px; padding-right: 20px; }

/* === Extra — Contact Details === */
.contact-details p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}
.contact-details img {
  height: 21px;
}

/* === Extra — Newsletter and Social Responsive Separation === */
@media (max-width:480px) {
  .footer-nav,
  .footer-contact,
  .footer-social,
  .newsletter-signup {
    width: 100%;
    min-width: 0;
  }
}
