/* =========================
   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;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  line-height: 1.6;
  background: #fff;
  color: #15181C;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #222;
  text-decoration: none;
  transition: color .2s;
}
b, strong {
  font-weight: 700;
}
ul, ol {
  margin-left: 1.25em;
}
ul {
  padding-left: 1.25em;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* =========================================
   TYPOGRAPHY — SOPHISTICATED MONOCHROME
   ========================================= */
body, p, li {
  color: #23262A;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #111314;
  font-weight: 700;
  letter-spacing: 0.015em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 16px;
  line-height: 1.18;
  color: #121212;
}
h2 {
  font-size: 1.625rem;
  margin-bottom: 12px;
  line-height: 1.22;
}
h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
  line-height: 1.3;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 600;
}
p {
  margin-bottom: 14px;
}
li {
  margin-bottom: 8px;
}

/* ==============
   CONTAINER
   ============== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* =======================================
   HEADER + NAV (WITH MOBILE HAMBURGER)
   ======================================= */
header {
  width: 100%;
  background: #fafbfc;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  border-bottom: 1px solid #ececec;
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
}
header > a {
  display: flex;
  align-items: center;
  padding: 16px 20px 8px 20px;
  max-width: 220px;
  margin-bottom: -12px;
}
header img[alt="Stadtmomente"] {
  height: 46px;
  width: auto;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 1rem;
  margin-left: 20px;
}
header nav a {
  color: #1c1c1c;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  padding: 4px 0;
  position: relative;
  transition: color .18s;
}
header nav a:hover,
header nav a:focus {
  color: #295769;
  outline: none;
}
header .btn-primary {
  margin-left: auto;
  margin-right: 22px;
  white-space: nowrap;
}

/* ==========
   BUTTONS
   ========== */
.btn-primary {
  padding: 12px 30px;
  background: #fff;
  color: #15181C;
  border: 2px solid #15181C;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  border-radius: 28px;
  font-size: 1rem;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 24px rgba(24,24,24,0.05);
  transition: background 0.22s, color 0.25s, border .2s, box-shadow .3s;
  cursor: pointer;
  display: inline-block;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #15181C;
  color: #fff;
  border: 2px solid #15181C;
  box-shadow: 0 8px 36px rgba(33,33,33,0.09);
  outline: none;
}

.btn-secondary {
  padding: 10px 24px;
  background: #f2f2f2;
  color: #15181C;
  border: 2px solid #23262a;
  border-radius: 26px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: .98rem;
  letter-spacing: 0.01em;
  transition: background .16s, border .23s, color .1s, box-shadow .23s;
  cursor: pointer;
  display: inline-block;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #23262a;
  color: #fff;
  outline: none;
}

/* ===========
   SECTIONS
   =========== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 5px 32px rgba(29,33,41,0.04);
  display: flex;
  justify-content: center;
}
@media (max-width: 800px) {
  section {
    padding: 30px 8px;
    margin-bottom: 36px;
  }
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ===============
   CARD CONTAINER
   =============== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}

.card {
  background: #fcfcfc;
  border: 1.2px solid #d2d2d5;
  border-radius: 17px;
  box-shadow: 0 3px 16px rgba(30,30,30,0.05);
  padding: 30px 26px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .17s, border .22s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 6px 26px 2px rgba(42,45,49,0.11);
  border: 1.2px solid #ababab;
}

/* =============
   FEATURE GRID
   ============= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: stretch;
  margin-top: 15px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #f7f7f9;
  border: 1px solid #e2e2e5;
  border-radius: 15px;
  padding: 28px 20px 22px 20px;
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 310px;
  box-shadow: 0 4px 13px rgba(44,44,49,0.04);
  transition: transform .12s, box-shadow .14s;
}
.feature-item img {
  width: 38px;
  height: 38px;
  filter: grayscale(85%) contrast(1.35);
}
.feature-item h3 {
  margin-bottom: 0px;
  font-weight: 700;
  color: #111314;
}
.feature-item p {
  font-size: .97rem;
  color: #23262a;
}
.feature-item:hover {
  transform: translateY(-5px) scale(1.016);
  box-shadow: 0 9px 26px 0 rgba(40,50,55,0.09);
}

/* ===============
   TESTIMONIALS
   =============== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #fafbfc;
  border: 1.5px solid #c2c6ca;
  border-radius: 19px;
  padding: 32px 24px 22px 24px;
  box-shadow: 0 4px 18px rgba(70,70,68,0.07);
  margin-bottom: 20px;
  max-width: 410px;
  flex: 1 1 320px;
  min-width: 250px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #101315;
}
.testimonial-card p {
  font-size: 1rem;
  color: #1d2326;
}
.testimonial-card strong {
  color: #15181C;
  font-weight: 600;
}
.testimonial-card div:last-child {
  color: #095f34;
  font-size: 1.26rem;
  letter-spacing: 0.2em;
}

.content-wrapper > .testimonial-card {
  margin-right: 16px;
}
@media (min-width: 950px) {
  .content-wrapper {
    flex-direction: row;
    gap: 26px;
    flex-wrap: wrap;
  }
  .content-wrapper > .testimonial-card {
    flex: 1 1 0;
    margin-right: 0;
  }
}

/* ================
   ICON GRID/FEATURE ICONS
   ================ */
.icon-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 14px 0;
  justify-content: flex-start;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
}
.icon-grid div {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f7f7f8;
  border-radius: 11px;
  padding: 12px 18px 12px 14px;
  font-size: 1rem;
  color: #222;
}
.icon-grid img {
  width: 25px;
  height: 25px;
  filter: grayscale(88%) contrast(1.22);
}
.feature-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  font-family: 'Montserrat', 'Roboto', Arial,sans-serif;
  font-size: 1.04rem;
}
.feature-icons img {
  width: 29px;
  height: 29px;
  margin-right: 4px;
  filter: grayscale(96%) contrast(1.18);
  vertical-align: middle;
}

/* =======================
   FAQ ACCORDION STYLING
   ======================= */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 12px;
}
.faq-accordion h3 {
  font-size: 1.08rem;
  cursor: pointer;
  color: #222;
  background: #fafbfc;
  border-radius: 9px;
  padding: 11px 16px;
  margin-bottom: 0px;
  border: 1px solid #eee;
  box-shadow: 0 2px 6px rgba(24,34,34,0.02);
  transition: background .11s, color .18s;
}
.faq-accordion h3:hover,
.faq-accordion h3:focus {
  background: #f1f1f3;
  color: #111314;
  outline: none;
}
.faq-accordion div {
  background: #fff;
  border: 1px solid #ededed;
  border-radius: 0 0 8px 8px;
  padding: 10px 16px 14px 16px;
  font-size: .97rem;
  color: #24262a;
}

/* ====================
   TEXT + IMAGE FLEX SECTIONS
   ==================== */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
/* Responsive column direction for text-image */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* ==========
   FOOTER
   ========== */
footer {
  background: #18191D;
  color: #edeef0;
  width: 100%;
  padding: 38px 0 22px 0;
  font-size: .99rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 12px;
}
footer nav a {
  color: #edeef0;
  font-family: 'Roboto', Arial, sans-serif;
  opacity: .93;
  font-size: .98rem;
  transition: color .18s, opacity .18s;
}
footer nav a:hover,
footer nav a:focus {
  color: #fff;
  opacity: 1;
  outline: none;
}
footer p {
  color: #c0c5cb;
  text-align: center;
  font-size: .97rem;
  margin: 0;
}

/* ============
   MAP PLACEHOLDER
   ============ */
.map-placeholder {
  background: #e9e9ee;
  color: #525257;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  border-radius: 8px;
  margin-top: 10px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
}

/* ================
   MOBILE BURGER MENU
   ================ */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 14px;
  color: #15181C;
  transition: color .15s;
  z-index: 28;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #000;
}
@media (max-width: 900px) {
  header nav, header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
    position: absolute;
    right: 20px;
    top: 22px;
    z-index: 31;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(17,18,20,0.93);
  pointer-events: none;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity .32s cubic-bezier(.5,.25,.6,1.15), transform .44s cubic-bezier(.7,.2,.2,1.1);
  z-index: 99;
  display: flex;
  justify-content: flex-end;
}
.mobile-menu.open {
  pointer-events: all;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  position: absolute;
  top: 26px;
  right: 40px;
  cursor: pointer;
  z-index: 103;
  transition: color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F7C873;
  outline: none;
}
.mobile-nav {
  background: #fcfcfc;
  min-width: 75vw;
  max-width: 350px;
  height: 100vh;
  padding: 56px 22px 22px 32px;
  box-shadow: -9px 0 24px rgba(34,34,34,0.15);
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 105;
  position: relative;
}
.mobile-nav a {
  color: #222;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: 0.01em;
  padding: 14px 0;
  border-bottom: 1px solid #e4e4e7;
  transition: color .18s, background .14s;
  min-width: 88px;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #295769;
  background: #f2f3f8;
  outline: none;
}
@media (max-width:480px) {
  .mobile-nav {
    min-width: 100vw;
    padding-left: 15px;
    padding-right: 8px;
  }
}

/* TOUCH RESPONSIVENESS */
@media (pointer: coarse) and (hover: none) {
  .mobile-nav a {
    padding: 18px 0;
    font-size: 1.22rem;
  }
}

/* ======================
   COOKIE CONSENT BANNER
   ====================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: rgba(28,28,28,0.98);
  color: #f3f3f5;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  padding: 32px 18px 20px 18px;
  box-shadow: 0 -6px 28px rgba(28,30,35,0.10);
  animation: cookieSlideUp .60s cubic-bezier(.7,.3,.3,1);
  font-family: 'Roboto', Arial, sans-serif;
}
@keyframes cookieSlideUp {
  0% { transform: translateY(120%); opacity: 0; }
  60% { transform: translateY(-18px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1rem;
  color: #f6f7fa;
  margin-bottom: 0;
  text-align: center;
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 5px;
}
.cookie-btn {
  min-width: 0;
  padding: 10px 22px;
  border-radius: 24px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background .21s, color .18s, border .18s;
}
.cookie-btn.settings {
  border-color: #F7C873;
  color: #F7C873;
}
.cookie-btn.accept {
  background: #111314;
  border-color: #F7C873;
  color: #F7C873;
}
.cookie-btn.reject {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #fff;
  color: #15181C;
  outline: none;
  border-color: #fff;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #F7C873;
  color: #15181C;
  border-color: #F7C873;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #F7C873;
  color: #15181C;
  border-color: #F7C873;
}

/* =============
   COOKIE MODAL
   ============= */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1300;
  background: rgba(13,14,15,0.82);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity .33s;
}
.cookie-modal {
  background: #f8f9fb;
  color: #161a1c;
  border-radius: 19px;
  box-shadow: 0 12px 36px rgba(30,33,41,0.21);
  padding: 36px 32px 28px 32px;
  min-width: 350px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 26px;
  z-index: 1400;
  position: relative;
  animation: cookieModalPop .44s cubic-bezier(.6,.2,.4,1);
}
@keyframes cookieModalPop {
  0% { transform: scale(.68); opacity: 0; }
  80% { transform: scale(1.03); }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.38rem;
  margin-bottom: 16px;
  color: #101315;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-option {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #23262A;
  font-size: 1rem;
}
.cookie-toggle {
  -webkit-appearance: none;
  appearance: none;
  width: 34px;
  height: 19px;
  border-radius: 9.5px;
  background: #ddd;
  border: 1.5px solid #bababa;
  outline: none;
  cursor: pointer;
  position: relative;
  transition: background .21s, border .17s;
}
.cookie-toggle:checked {
  background: #15181C;
  border-color: #111314;
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 1px;
  left: 2px;
  box-shadow: 0 2px 6px rgba(24,24,24,0.08);
  transition: left .23s;
}
.cookie-toggle:checked:before {
  left: 15px;
  background: #F7C873;
}
.cookie-modal .cookie-btn {
  margin-top: 10px;
}
.cookie-modal .cookie-btn.reject {
  background: transparent;
  border: 2px solid #23262A;
  color: #23262A;
}
.cookie-modal .cookie-btn.reject:hover,
.cookie-modal .cookie-btn.reject:focus {
  background: #23262A;
  color: #fff;
}
.cookie-modal-close {
  position: absolute;
  top: 20px;
  right: 26px;
  background: none;
  color: #222;
  border: none;
  font-size: 1.44rem;
  cursor: pointer;
  z-index: 1500;
  transition: color .18s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #295769;
  outline: none;
}
@media (max-width: 500px) {
  .cookie-modal { min-width: 92vw; padding: 22px 8px 18px 8px; }
}

/* ================
   THANK-YOU PAGE CTA
   ================ */
.thank-you-cta {
  margin-top: 22px;
  text-align: center;
}

/* ===========
   RESPONSIVE FLEX
   =========== */
@media (max-width: 1200px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 17px;
  }
  .card-container {
    gap: 17px;
  }
}
@media (max-width: 620px) {
  .feature-grid,
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item {
    min-width: 0;
    max-width: 99vw;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.06rem; }
  .feature-item h3 {font-size: 1rem;}
  .btn-primary, .btn-secondary { font-size: .98rem; padding: 14px 10px;}
  .cookie-banner { font-size: .99rem; padding: 18px 8px 14px 10px; }
}

/* ===============
   CONTENT GRIDS
   =============== */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ================
   UTILITY SPACING
   ================ */
.mb-0  { margin-bottom: 0 !important; }
.mb-2  { margin-bottom: 2px !important; }
.mb-8  { margin-bottom: 8px !important; }
.mb-14 { margin-bottom: 14px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mr-20 { margin-right: 20px !important; }
.mt-8  { margin-top: 8px !important; }
.mt-16 { margin-top: 16px !important; }
.mt-32 { margin-top: 32px !important; }
.pt-18 { padding-top: 18px !important; }
.pb-18 { padding-bottom: 18px !important; }

/* ===============
   FORMS (CONTACT)
   =============== */
input,textarea,select {
  font-family: 'Roboto', Arial, sans-serif;
  background: #fafbfc;
  border: 1.2px solid #d6dadf;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 1rem;
  margin-bottom: 10px;
  outline: none;
  transition: border .15s, background .13s;
}
input:focus, textarea:focus, select:focus {
  border: 1.6px solid #F7C873;
  background: #fafdff;
}

label {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 500;
  color: #16181A;
  margin-bottom: 4px;
  display: block;
}

/* ================
   ACCESSIBILITY & FOCUS
   ================ */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
  outline: 2px solid #F7C873;
  outline-offset: 2px;
}

/* ================
   OVERRIDES/UTILITIES
   ================ */
::-webkit-input-placeholder { color: #9299A1; }
::-moz-placeholder { color: #9299A1; }
:-ms-input-placeholder { color: #9299A1; }
::placeholder { color: #9299A1; }

/* ===============
   SCROLLBAR
   =============== */
body::-webkit-scrollbar {
  width: 9px;
  background: #e7e7ea;
}
body::-webkit-scrollbar-thumb {
  background: #c0c0c0;
  border-radius: 5px;
}

/* ==============
   PRINT FRIENDLY
   ==============
*/
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal-overlay, footer {
    display: none !important;
  }
  section, main, .container {
    background: #fff !important;
    color: #222 !important;
    box-shadow: none !important;
  }
}
