/* ====== CSS RESET & BASE ====== */
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;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #1F2A36;
  background-color: #fff;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #1F2A36;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #6C8893;
  outline: none;
}
ul, ol {
  list-style: none;
}

/* ====== TYPOGRAPHY ====== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #1F2A36;
  line-height: 1.13;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4 { font-size: 1rem; margin-bottom: 8px; }
strong { font-weight: 600; }

@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1rem; }
}

p, li, span, address {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
}
.subheadline {
  font-size: 1.25rem;
  font-weight: 400;
  color: #6C8893;
  margin-bottom: 24px;
}

/* ====== LAYOUT CONTAINERS ====== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

/* Spacing and Section patterns */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(31,42,54,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(31,42,54,0.13);
}
.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;
    align-items: flex-start;
    gap: 20px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #E9E7E1;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(31,42,54,0.06);
  flex-direction: column;
  margin-bottom: 20px;
  min-width: 220px;
  width: 100%;
}
.testimonial-card p {
  color: #1F2A36;
  font-size: 1.1rem;
}
.testimonial-card strong {
  font-size: 1rem;
  color: #6C8893;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(31,42,54,0.09);
  padding: 20px 18px;
  margin-bottom: 20px;
}

/* ====== HEADER & NAV ====== */
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(31,42,54,0.08);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
}
header > .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  min-height: 72px;
}
.logo img {
  height: 40px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #1F2A36;
  font-weight: 500;
  padding: 7px 0;
  position: relative;
}
.main-nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #6C8893;
  transition: width 0.2s;
  position: absolute;
  left: 0;
  bottom: 0;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 100%;
}
.btn-primary, .btn-secondary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  display: inline-block;
  border: none;
  border-radius: 28px;
  padding: 12px 32px;
  font-size: 1.08rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.16s;
  outline: none;
  margin-left: 24px;
}
.btn-primary {
  background: #1F2A36;
  color: #fff;
  box-shadow: 0 2px 14px rgba(31,42,54,0.11);
}
.btn-primary:hover, .btn-primary:focus {
  background: #6C8893;
}
.btn-secondary {
  background: #E9E7E1;
  color: #1F2A36;
  box-shadow: none;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #6C8893;
  color: #fff;
}

/* Hamburger menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #1F2A36;
  font-size: 2rem;
  cursor: pointer;
  padding: 8px 12px;
  z-index: 300;
}
/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #E9E7E1;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 44px 32px 16px 32px;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.65,0,0.35,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  border: none;
  background: none;
  font-size: 2.2rem;
  color: #1F2A36;
  cursor: pointer;
  margin-bottom: 16px;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #6C8893;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 24px;
  margin-bottom: 20px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  color: #1F2A36;
  font-weight: 600;
  padding: 16px 0;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #6C8893;
  color: #fff;
}
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .btn-primary {
    margin-left: 8px;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ====== HERO SECTION ====== */
.hero {
  background: linear-gradient(112deg, #e9e7e1 80%, #ffffff 100%);
  padding: 50px 0 48px 0;
  margin-bottom: 32px;
}
.hero .container {
  align-items: center;
  padding-top: 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  max-width: 720px;
  padding: 0;
}
.hero h1 {
  color: #1F2A36;
}
.hero p, .hero .subheadline {
  color: #6C8893;
}

/* ====== FEATURES / SERVICES GRIDS ====== */
.feature-grid, .service-list, .tour-list, .publication-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.feature-grid li, .feature-grid > div {
  flex: 1 1 230px;
  background: #fff;
  padding: 26px 18px 18px 18px;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(31,42,54,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
  gap: 12px;
  transition: box-shadow 0.2s;
}
.feature-grid li:hover, .feature-grid > div:hover {
  box-shadow: 0 8px 36px rgba(31,42,54,0.13);
}
.feature-grid img {
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
}
.service-list li {
  flex: 1 1 300px;
  background: #f9f9f9;
  margin-bottom: 20px;
  padding: 18px 18px 12px 18px;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(31,42,54,0.08);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.tour-list li, .publication-list li {
  flex: 1 1 260px;
  background: #fff;
  margin-bottom: 20px;
  padding: 15px 18px 10px 18px;
  border-radius: 8px;
  box-shadow: 0 1px 7px rgba(31,42,54,0.06);
  display: flex;
  flex-direction: column;
}
@media (max-width: 900px) {
  .feature-grid, .service-list, .tour-list, .publication-list {
    gap: 16px;
  }
}
@media (max-width: 700px) {
  .feature-grid, .service-list, .tour-list, .publication-list {
    flex-direction: column;
    gap: 12px;
  }
  .feature-grid li, .feature-grid > div,
  .service-list li, .tour-list li, .publication-list li {
    min-width: 0;
    width: 100%;
  }
}

/* CTA Section styles */
.cta-section {
  background: #1F2A36;
  color: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 0 20px rgba(31,42,54,0.12);
  margin-bottom: 0;
}
.cta-section .container {
  padding: 36px 20px;
}
.cta-section .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.cta-section h2, .cta-section p, .cta-section strong {
  color: #fff;
}
.cta-section .btn-primary {
  background: #fff;
  color: #1F2A36;
  margin-left: 0;
  margin-top: 8px;
}
.cta-section .btn-primary:hover {
  background: #6C8893;
  color: #fff;
}
.address-snippet {
  background: #fff;
  color: #1F2A36;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 1rem;
  margin: 16px 0;
}

/* ====== TESTIMONIALS ====== */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
@media (max-width: 900px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
}

/* ====== CARDS ====== */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* ====== LIST BLOCKS ====== */
.highlighted-buildings, .guide-experiences, .downloadable-study-overview, .pricing-overview, .public-transport-info {
  background: #f7f7f9;
  border-radius: 8px;
  padding: 16px 12px;
  margin: 20px 0 10px 0;
}
.pricing-info {
  margin-top: 22px;
  padding: 17px 12px;
  background: #E9E7E1;
  border-radius: 8px;
}

/* ====== ADDRESS & ANFAHRT ==== */
.address {
  margin-bottom: 18px;
}
.city-map-embed {
  margin-bottom: 18px;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 12px 10px;
}
.public-transport-info ul {
  margin-top: 10px;
}

/* ====== LEGAL PAGE SECTIONS ==== */
.legal-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #f7f7f9;
  border-radius: 14px;
}

/* ====== THANK YOU PAGE ==== */
.thankyou-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  text-align: left;
}
.thankyou-section .btn-primary {
  margin-top: 30px;
}

/* ====== FOOTER ====== */
footer {
  background: #1F2A36;
  color: #fff;
  padding: 36px 0 12px 0;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-bottom: 12px;
  align-items: center;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.87;
  transition: color 0.2s, opacity 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #6C8893;
  opacity: 1;
}
.footer-info {
  font-size: 0.96rem;
  opacity: 0.78;
}

@media (max-width: 700px) {
  footer .footer-nav {
    flex-direction: column;
    gap: 8px;
  }
  .footer-info {
    text-align: center;
  }
}

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: #1F2A36;
  box-shadow: 0 -2px 16px rgba(31,42,54,0.14);
  border-top: 1px solid #e3e4e7;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 16px 22px 24px;
  transition: transform 0.37s cubic-bezier(0.7,0,0.29,1);
  transform: translateY(0);
}
.cookie-banner.hidden {
  transform: translateY(100%);
}
.cookie-banner p {
  margin: 0;
  line-height: 1.5;
  color: #1F2A36;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  border-radius: 22px;
  padding: 8px 24px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  margin-right: 8px;
  transition: background 0.19s, color 0.17s;
}
.cookie-banner .accept {
  background: #1F2A36;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #6C8893;
}
.cookie-banner .reject {
  background: #E9E7E1;
  color: #1F2A36;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #6C8893;
  color: #fff;
}
.cookie-banner .settings {
  background: #fff;
  color: #6C8893;
  border: 1px solid #6C8893;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #E9E7E1;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(31,42,54,0.28);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-inner {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px 32px 28px;
  max-width: 400px;
  width: 95vw;
  box-shadow: 0 4px 40px rgba(31,42,54,0.18);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal-inner h3 {
  margin-top: 0;
  font-size: 1.25rem;
  color: #1F2A36;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f7f7f9;
  border-radius: 8px;
  padding: 9px 14px 9px 11px;
  font-size: 1rem;
}
.cookie-category-title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #1F2A36;
}
.cookie-category input[type=checkbox] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #6C8893;
}
.cookie-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.cookie-modal .modal-actions button {
  padding: 8px 22px;
  font-size: 1rem;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #6C8893;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal .modal-close:hover {
  color: #1F2A36;
}

/* ====== ANIMATIONS ====== */
.btn-primary, .btn-secondary, .main-nav a, .footer-nav a, .card, .feature-grid li, .service-list li, .hero, .testimonial-card, .cookie-banner, .cookie-modal-inner {
  transition: box-shadow 0.2s, background 0.18s, color 0.18s, transform 0.18s, border-color 0.13s;
}
.card:active, .btn-primary:active, .btn-secondary:active {
  transform: translateY(2px) scale(0.984);
}

/* ====== MEDIA QUERIES ====== */
@media (max-width: 900px) {
  .container {
    max-width: 96vw;
  }
  .hero .container, .cta-section .container {
    padding: 0 12px;
  }
}
@media (max-width: 650px) {
  .container {
    padding: 0 8px;
  }
  .hero, .section, .cta-section, .legal-section, .thankyou-section {
    padding-left: 4px;
    padding-right: 4px;
  }
  .cookie-banner {
    padding: 14px 6px 16px 8px;
  }
  .cookie-modal-inner {
    padding: 20px 8px 20px 8px;
  }
}

/* ====== MISC ====== */
::selection {
  background: #E9E7E1;
  color: #1F2A36;
}
address, .address, .address-snippet, .city-map-embed, .public-transport-info {
  font-size: 1rem;
  color: #1F2A36;
  font-style: normal;
}

/* ====== BROWSER FONT FALLBACKS ====== */
@font-face {
  font-family: 'Montserrat';
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  src: local('Montserrat-Regular'), local('Montserrat'), url(https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap) format('woff2');
}
@font-face {
  font-family: 'Roboto';
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  src: local('Roboto-Regular'), local('Roboto'), url(https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap) format('woff2');
}

/* ====== PRINT FRIENDLINESS ====== */
@media print {
  header, footer, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  .container {
    max-width: 100vw;
    padding: 0;
  }
}

/* ====== ACCESSIBILITY OUTLINES ====== */
:focus-visible {
  outline: 2px solid #6C8893;
  outline-offset: 2px;
}

/* ====== SCROLLBAR (branding) ====== */
::-webkit-scrollbar { width: 8px; background: #f0f0f2; }
::-webkit-scrollbar-thumb { background: #6C8893; border-radius: 4px; }

