/* RESET & BASELINE STYLES */
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,
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,
main, 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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  min-height: 100vh;
  background: linear-gradient(135deg, #e5f3ff 0%, #f7efc8 100%);
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #204157;
  font-size: 16px;
  letter-spacing: 0.01em;
}
a {
  color: #204157;
  text-decoration: none;
  transition: color .2s;
}
a:focus, a:hover {
  color: #3d79a9;
  outline: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  padding-left: 1.3em;
  margin: 1em 0;
}
li {
  margin-bottom: 0.5em;
}

/* TYPOGRAPHY */
h1, .hero h1, .thank-you h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: #204157;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #204157;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  margin-bottom: 6px;
}
p, .section p {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #204157;
}
strong {
  font-weight: 700;
}

/* CONTAINER & SPACING */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(255,255,255,0.9);
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(32,65,87,0.07);
}

/* FLEX PATTERNS (MANDATORY) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(32,65,87,0.11);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .2s;
}
.card:hover {
  box-shadow: 0 6px 24px 2px rgba(32,65,87,.18);
  transform: translateY(-2px) scale(1.01);
}

.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;
  background: #fff;
  color: #204157;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(32,65,87, 0.11);
  margin-bottom: 20px;
  flex-direction: column;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER & NAVIGATION */
header {
  background: linear-gradient(110deg, #204157 60%, #9ECDFF 125%);
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px 18px 16px;
  gap: 18px;
}
header img[alt="Spectral Oasis Bochum"] {
  width: 168px;
  min-width: 124px;
  margin-right: 10px;
}
header nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #fff;
  opacity: 0.89;
  position: relative;
  padding: 2px 2px;
  transition: opacity .2s, color .2s;
}
header nav a:hover, header nav a:focus {
  opacity: 1;
  color: #F7EFC8;
}
.cta-btn.primary {
  background: linear-gradient(92deg, #9ECDFF 5%, #204157 160%);
  color: #204157;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 32px;
  padding: 10px 32px;
  margin-left: 16px;
  cursor: pointer;
  font-size: 1rem;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 12px 0 rgba(158,205,255,0.10);
  transition: background .25s, color .2s, box-shadow .22s, transform .1s;
  outline: none;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: linear-gradient(92deg, #F7EFC8 5%, #9ECDFF 120%);
  color: #204157;
  box-shadow: 0 6px 16px 2px rgba(158,205,255,0.14);
  transform: scale(1.03);
}

/* MOBILE NAV MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #F7EFC8;
  cursor: pointer;
  z-index: 107;
  margin-left: 16px;
  transition: color .2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #fff;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32,65,87,0.97);
  z-index: 110;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.77,.09,.26,.98);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 40px 26px 24px 32px;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F7EFC8;
  font-size: 2rem;
  cursor: pointer;
  position: absolute;
  top: 26px;
  right: 28px;
  z-index: 111;
  transition: color .2s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #9ECDFF;
}
.mobile-nav {
  margin-top: 54px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  color: #F7EFC8;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(158,205,255,0.13);
  width: 100%;
  transition: color .16s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #9ECDFF;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(120deg, #9ECDFF 0%, #F7EFC8 100%);
  border-bottom-left-radius: 42px;
  border-bottom-right-radius: 42px;
  padding: 56px 0 32px 0;
  margin-bottom: 42px;
}
.hero .container {
  justify-content: center;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 650px;
  margin: 0 auto;
  gap: 14px;
}
.hero h1 {
  color: #204157;
}
.hero p {
  font-size: 1.12rem;
  color: #204157;
  margin-bottom: 22px;
}

/* FEATURES */
.features {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(255,255,255, 0.94);
  border-radius: 24px;
  box-shadow: 0 2px 16px 0 rgba(32,65,87,0.07);
}
.features .content-wrapper {
  width: 100%;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 18px;
}
.feature {
  background: #F7EFC8;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(32,65,87,0.06);
  padding: 24px 16px;
  flex: 1 1 210px;
  min-width: 0;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow .2s, transform .18s;
}
.feature img {
  width: 38px;
  height: 38px;
  margin-bottom: 7px;
}
.feature:hover {
  box-shadow: 0 6px 22px 2px rgba(32,65,87,.13);
  transform: translateY(-3px) scale(1.015);
}

/* ABOUT-SHORT / CITY-FACTS / SERVICE PREVIEW */
.about-short, .services-short {
  background: #fff;
  margin-bottom: 60px;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(32,65,87,0.06);
}
.service-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 13px;
}
.service-preview {
  background: #9ECDFF;
  border-radius: 16px;
  padding: 18px 16px;
  flex: 1 1 220px;
  min-width: 0;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 10px 0 rgba(32,65,87,0.05);
  transition: box-shadow .18s, transform .16s;
}
.service-preview:hover {
  box-shadow: 0 7px 24px 2px rgba(32,65,87,0.12);
  transform: scale(1.03);
}
.service-preview h3 {
  color: #204157;
  font-size: 1.11rem;
}
.service-preview a {
  color: #204157;
  font-weight: 600;
  margin-top: 4px;
  transition: color .15s;
}
.service-preview a:hover, .service-preview a:focus {
  color: #3d79a9;
  text-decoration: underline;
}

/* CITY FACTS GRID (STADTFUEHRER) */
.city-facts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.fact {
  background: #9ECDFF;
  border-radius: 14px;
  padding: 18px 14px;
  flex: 1 1 210px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px 0 rgba(32,65,87,0.07);
}

/* TESTIMONIALS */
.testimonials {
  background: #F7EFC8;
  border-radius: 18px;
  margin-bottom: 60px;
  box-shadow: 0 2px 14px 0 rgba(32,65,87,0.07);
  padding: 40px 20px;
}
.testimonials h2 {
  margin-bottom: 28px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(32,65,87,0.10);
  padding: 20px 18px 16px 18px;
  min-width: 0;
  max-width: 340px;
  flex: 1 1 240px;
  color: #204157; /* CRITICAL: Dark text on light bg for readability */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.testimonial-text {
  font-size: 1rem;
  margin-bottom: 12px;
  font-style: italic;
  color: #204157;
}
.testimonial-author {
  font-size: 0.97rem;
  color: #3d79a9;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* CONTACT */
.contact-details ul {
  list-style: none;
  margin: 0 0 16px 0;
}
.contact-details li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 1rem;
  color: #204157;
}
.contact-details img {
  width: 22px;
  height: 22px;
  margin-right: 12px;
}

/* FOOTER */
footer {
  width: 100%;
  background: linear-gradient(120deg, #204157 70%, #9ECDFF 160%);
  padding: 38px 0 16px 0;
  color: #fff;
  font-size: 1rem;
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
  box-shadow: 0 -2px 16px 0 rgba(32,65,87,0.10);
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
footer nav a {
  color: #F7EFC8;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.8;
  transition: color .18s, opacity .18s;
  padding: 2px 2px;
}
footer nav a:hover, footer nav a:focus {
  color: #9ECDFF;
  opacity: 1;
}
footer img[alt="Spectral Oasis Bochum"] {
  width: 64px;
  margin-bottom: 8px;
}
footer .contact-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #F7EFC8;
  font-size: 0.97rem;
}
footer .contact-info img {
  width: 18px;
  height: 18px;
  margin-right: 7px;
  margin-bottom: -3px;
}
.footer-tagline {
  width: 100%;
  color: #F7EFC8;
  font-size: 0.96rem;
  font-style: italic;
  opacity: .8;
  margin-top: 18px;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* THANK YOU STYLE */
.thank-you section, .thank-you .container, .thank-you .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.thank-you section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* SPECIAL COMPONENTS */
.privacy-policy, .gdpr-policy, .cookie-policy, .terms-of-use {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(32,65,87,0.06);
  padding: 40px 20px;
  margin-bottom: 60px;
}

/* BUTTONS */
button, .cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 32px;
  cursor: pointer;
  padding: 10px 26px;
  font-size: 1rem;
  transition: background .20s, color .18s, box-shadow .13s, transform .08s;
}
button:focus, .cta-btn:focus {
  outline: 2px solid #9ECDFF;
}

/* ----------- COOKIE CONSENT BANNER / MODAL ----------- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, #f7efc8 0%, #9ecdff 100%);
  color: #204157;
  box-shadow: 0 -2px 18px 0 rgba(32,65,87,0.12);
  z-index: 2000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 24px 12px 18px 20px;
  gap: 20px;
  animation: cookieSlideUp .4s cubic-bezier(.67,.17,.38,.95);
  font-size: 1rem;
}
@keyframes cookieSlideUp {
  from {transform: translateY(180px); opacity:0;}
  to {transform: translateY(0); opacity:1;}
}
.cookie-consent-banner__text {
  flex: 1;
  min-width: 0;
}
.cookie-consent-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-left: 16px;
}
.cookie-btn {
  background: #204157;
  color: #F7EFC8;
  border-radius: 26px;
  border: none;
  padding: 10px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  box-shadow: 0 1px 7px 0 rgba(32,65,87,0.07);
  margin-left: 2px;
  transition: background .17s, color .17s, box-shadow .13s, transform .1s;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #9ECDFF;
  color: #204157;
  box-shadow: 0 3px 13px 2px rgba(32,65,87,0.13);
  transform: scale(1.08);
}
.cookie-btn.settings {
  background: #9ECDFF;
  color: #204157;
}
.cookie-btn.settings:focus, .cookie-btn.settings:hover {
  background: #F7EFC8;
  color: #204157;
}

/* COOKIE MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  left:0; right:0; top:0; bottom:0;
  z-index: 2100;
  background: rgba(32,65,87,0.37);
  justify-content: center;
  align-items: center;
  animation: fadeIn .3s;
}
.cookie-modal.open {
  display: flex;
}
@keyframes fadeIn {
  from { opacity:0; }
  to   { opacity:1; }
}
.cookie-modal__content {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 5px 48px 0 rgba(32,65,87,0.14);
  padding: 32px 22px 22px 22px;
  min-width: 310px;
  max-width: 95vw;
  color: #204157;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.cookie-modal__close {
  position: absolute;
  top: 16px; right: 18px;
  background: none;
  border: none;
  color: #204157;
  font-size: 2rem;
  cursor: pointer;
  transition: color .2s;
  z-index: 2;
}
.cookie-modal__close:focus, .cookie-modal__close:hover {
  color: #9ECDFF;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-category input[type="checkbox"] {
  accent-color: #9ECDFF;
  margin-left: 8px;
  width: 22px;
  height: 22px;
}
.cookie-category .essential {
  color: #607285;
  font-weight: 500;
}

/* MEDIA QUERIES: RESPONSIVE DESIGN (MOBILE-FIRST) */
@media (max-width: 1100px) {
  .container {
    max-width: 970px;
  }
  .feature-grid, .city-facts-grid, .service-preview-list, .testimonial-slider {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 700px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .service-preview-list {
    flex-direction: column;
  }
  .city-facts-grid, .testimonial-slider {
    flex-direction: column;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
    padding: 13px 8px 13px 8px;
  }
  header nav {
    display: none;
  }
  .cta-btn.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    padding: 38px 0 18px 0;
    margin-bottom: 24px;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
  }
  .content-grid, .feature-grid, .card-container,
  .service-preview-list, .city-facts-grid, .testimonial-slider {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .service-preview, .feature, .fact, .testimonial-card {
    max-width: 100%;
    min-width: 0;
  }
  .testimonials, .features, .about-short, .services-short {
    border-radius: 10px;
    padding: 20px 6px;
    margin-bottom: 32px;
  }
  .footer-tagline {
    margin-top: 10px;
  }
  .section {
    padding: 22px 6px;
    margin-bottom: 32px;
    border-radius: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 8px 16px 8px;
  }
  .cookie-consent-banner__actions {
    margin-left: 0;
  }
}
@media (max-width: 540px) {
  h1, .hero h1 {
    font-size: 1.38rem;
    margin-bottom: 12px;
  }
  h2 {
    font-size: 1.09rem;
    margin-bottom: 10px;
  }
  .content-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
  .cookie-modal__content {
    padding: 18px 8px 12px 8px;
    min-width: 90vw;
  }
  .hero .content-wrapper {
    padding: 0 0 0 0;
    max-width: 95vw;
  }
}

/* UTILITY CLASSES */
.align-center { text-align: center !important; }
.align-right { text-align: right !important; }
.hide {display: none !important;}

/* END */
