/* ========================================
   CSS RESET & BASE 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,
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F6F8FA;
  color: #1B263B;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  padding-left: 1.25em;
}
a {
  color: #193253;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F4B942;
  outline: none;
}
button, input[type="button"], input[type="submit"] {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  border: none;
}
strong, b {
  font-weight: 600;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #193253;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
p, ul, ol {
  margin-bottom: 16px;
  font-size: 1rem;
}
ul li, ol li {
  margin-bottom: 8px;
}

/* ===============
   CONTAINER & LAYOUT
================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ================
   SECTION SPACING
================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(25, 50, 83, 0.07);
}

/* ================
   HEADER
================== */
header {
  background: #fff;
  border-bottom: 2px solid #DFE4EA;
  position: relative;
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 10px 16px;
  min-height: 68px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #233759;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, 
header nav a:focus {
  background: #e3ebf7;
  color: #193253;
}
header .cta.primary {
  margin-left: 24px;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  color: #193253;
  border: none;
  cursor: pointer;
  margin-left: 24px;
  line-height: 1;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #F4B942;
}
/* ===============
  MOBILE NAV
=============== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #193253cc;
  z-index: 90;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  flex-direction: column;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 20px 20px 10px auto;
  font-size: 2.1rem;
  background: none;
  color: #fff;
  border: none;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #F4B942;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 40px 30px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  padding: 12px 0;
  border-radius: 6px;
  width: 100%;
  transition: background 0.2s, color 0.18s;
}
.mobile-nav a:active, 
.mobile-nav a:hover, 
.mobile-nav a:focus {
  background: #F4B942;
  color: #193253;
}

@media (max-width:1100px) {
  .container {
    max-width: 99vw;
  }
}
@media (max-width:900px) {
  header .container {
    gap: 10px;
  }
  header nav {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .cta.primary {
    margin-left: 0;
  }
}

/* ================
   CTA BUTTONS
================== */
.cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 10px 30px;
  border-radius: 999px;
  transition: background 0.24s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 3px 16px rgba(25,50,83,0.05);
  cursor: pointer;
  margin-top: 8px;
  text-align: center;
}
.cta.primary {
  background: #193253;
  color: #fff;
  border: 2px solid #193253;
}
.cta.primary:hover, .cta.primary:focus {
  background: #F4B942;
  color: #193253;
  border: 2px solid #F4B942;
  box-shadow: 0 2px 10px rgba(244,185,66,0.16);
}
.cta.secondary {
  background: #fff;
  color: #193253;
  border: 2px solid #193253;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #F4B942;
  color: #193253;
  border: 2px solid #F4B942;
  box-shadow: 0 2px 10px rgba(244,185,66,0.17);
}

/* ================
   SECTION & CARD LAYOUTS
================== */
/* See spacing/align rules below */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(25, 50, 83, 0.06);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(25,50,83,0.08);
  padding: 28px 22px;
  min-width: 220px;
  flex: 1 1 220px;
  transition: box-shadow 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 24px rgba(25,50,83,0.14);
}
.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;
  background: #F3F7FC;
  border-left: 5px solid #193253;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(25,50,83,0.05);
  min-width: 280px;
  max-width: 540px;
}
/* Card and testimonial slider styling */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card p {
  color: #1B263B;
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #2b4d71;
  font-weight: 500;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 16px 12px;
}

/* FEATURE GRID (for index, ausstellungen, ueber-uns, etc.) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
}
.feature-grid > div {
  background: #F5F8FB;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(25,50,83,0.07);
  padding: 22px 18px 18px 18px;
  flex: 1 1 230px;
  min-width: 210px;
  max-width: 295px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}
.feature-grid > div:hover {
  box-shadow: 0 2px 18px rgba(25,50,83,0.17);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  object-fit: contain;
}

/* REVIEW/LIST CARDS */
.review-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.review-snippet {
  background: #F8FAFC;
  border-radius: 12px;
  box-shadow: 0 1px 10px rgba(20, 48, 72, 0.07);
  border-left: 4px solid #F4B942;
  padding: 20px 18px 20px 22px;
  min-width: 230px;
  flex: 1 1 270px;
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}
.review-snippet span {
  color: #193253;
  font-size: 0.96rem;
  margin-top: 8px;
  font-style: italic;
}

/* EVENT LISTING for veranstaltungen */
.event-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.event-teaser {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(25,50,83,0.08);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 16px 18px 16px;
  margin-bottom: 20px;
  min-width: 230px;
  flex: 1 1 340px;
}
.event-teaser img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.event-teaser h3 {
  font-size: 1.125rem;
  margin-bottom: 6px;
}
.event-teaser p {
  margin-bottom: 4px;
}
.event-teaser span {
  font-size: 0.98rem;
  color: #375672;
}

/* FESTE List (feste-feiertage.html) */
.fest-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.fest-highlight {
  background: #F8FAFC;
  border-radius: 12px;
  border-left: 4px solid #F4B942;
  box-shadow: 0 1px 10px rgba(20, 48, 72, 0.07);
  padding: 20px 18px 18px 22px;
  flex: 1 1 230px;
  min-width: 200px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}
.fest-highlight h3 {
  text-transform: uppercase;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

/* HIGHLIGHT CARDS (kulturelle-highlights) */
.highlight-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.highlight-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 10px rgba(25,50,83,0.08);
  padding: 22px 18px;
  flex: 1 1 230px;
  min-width: 210px;
  margin-bottom: 20px;
  border-top: 4px solid #193253;
  transition: box-shadow 0.19s;
}
.highlight-card h3 {
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 7px;
}
.highlight-card span {
  font-size: 0.91rem;
  color: #375672;
}
.highlight-card:hover {
  box-shadow: 0 3px 16px rgba(25,50,83,0.10);
}

.curator-recommendations {
  background: #F3F7FC;
  border-radius: 12px;
  padding: 18px 18px 14px 18px;
  margin: 22px 2px 0 0;
  box-shadow: 0 1px 7px rgba(20, 48, 72, 0.06);
}
.trending-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.trending-tags span {
  font-size: 0.98rem;
  color: #193253;
  background: #deeaf8;
  border-radius: 6px;
  padding: 3px 11px;
}

/* ====================
   FAQ ACCORDION
==================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #F8FAFC;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(20, 48, 72, 0.07);
  padding: 18px 20px 12px 20px;
}
.faq-item h3 {
  font-size: 1.08rem;
  margin-bottom: 7px;
}
.faq-item p {
  margin-bottom: 0;
}

/* ====================
   NEWSLETTER INFO
==================== */
.newsletter-signup-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.newsletter-signup-info p {
  margin-bottom: 0;
}

/* ====================
   FOOTER
==================== */
footer {
  background: #193253;
  color: #fff;
  padding: 40px 0 0 0;
  margin-top: 80px;
}
footer .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  padding: 18px 16px 32px 16px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
footer nav a {
  color: #fff;
  opacity: 0.9;
  font-weight: 400;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s, opacity 0.15s;
}
footer nav a:hover, footer nav a:focus {
  color: #F4B942;
  opacity: 1;
}
footer address {
  color: #cbd5e1;
  font-style: normal;
  font-size: 1rem;
  text-align: left;
  line-height: 1.7;
}
footer a {
  color: #F4B942;
  text-decoration: none;
}
footer img {
  max-width: 56px;
  margin-bottom: 16px;
}

/* ============================
   TEXT SECTIONS & MISC
============================== */
.text-section {
  margin-bottom: 16px;
}
.text-section strong {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.brand-story,
.team-overview {
  margin-bottom: 24px;
}
.text-section a {
  color: #193253;
  text-decoration: underline;
  font-weight: 500;
}
.text-section a:hover {
  color: #F4B942;
}

/* ========================
   UTILITIES
========================= */
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }

/* ===============================
   RESPONSIVE & FLEX DIRECTION
=============================== */
@media (max-width: 840px) {
  .feature-grid, .card-container, .content-grid, .testimonial-slider, .review-list, .event-list, .fest-list, .highlight-cards, .newsletter-signup-info, .footer .container {
    flex-direction: column;
    gap: 20px;
  }
  .newsletter-signup-info {
    justify-content: flex-start;
  }
  .feature-grid > div, .card, .review-snippet, .fest-highlight, .highlight-card, .event-teaser, .testimonial-card {
    min-width: unset;
    max-width: 100%;
    width: 100%;
  }
  .footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 42px;
  }
}
@media (max-width: 720px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.33rem; }
  .section { padding: 30px 4vw; margin-bottom: 35px; }
}
@media (max-width: 640px) {
  h1 { font-size: 1.36rem; }
  h2 { font-size: 1.12rem; }
  .container { padding: 0 8px; }
  .footer .container { padding: 12px 8px 33px 8px; }
}
@media (max-width: 540px) {
  .section {
    padding: 20px 2vw;
  }
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 18px; align-items: flex-start; }
}

/* =============================
   MICRO-INTERACTIONS & HOVER
============================= */
.card, .review-snippet, .feature-grid > div, .highlight-card, .fest-highlight {
  transition: box-shadow 0.18s, border 0.18s;
}
.card:hover,
.review-snippet:hover,
.feature-grid > div:hover,
.highlight-card:hover,
.fest-highlight:hover {
  box-shadow: 0 4px 20px rgba(25,50,83,0.10);
}

/* =====================
   COOKIE CONSENT BANNER
===================== */
.cookie-consent {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 99;
  background: #233759;
  color: #fff;
  box-shadow: 0 -2px 20px rgba(25,50,83,0.10);
  border-radius: 14px 14px 0 0;
  padding: 24px 18px 20px 18px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 26px;
  flex-wrap: wrap;
  width: 99vw;
  max-width: 1180px;
  margin: 0 auto;
}
.cookie-consent .cookie-text {
  flex: 1 1 220px;
  font-size: 1.02rem;
  color: #fff;
}
.cookie-consent .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 999px;
  border: none;
  margin-bottom: 5px;
  background: #fff;
  color: #233759;
  transition: background 0.2s, color 0.18s;
}
.cookie-btn.accept {
  background: #F4B942;
  color: #233759;
}
.cookie-btn.reject {
  background: #e2eafb;
  color: #233759;
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  opacity: 0.87;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; bottom: 0; left: 0; right: 0;
  background: rgba(17,28,44,0.77);
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #233759;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(25,50,83,0.25);
  max-width: 420px;
  padding: 34px 28px 28px 28px;
  position: relative;
  animation: showmodal 0.32s cubic-bezier(.61,1.42,.5,.81);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@keyframes showmodal {
   from { opacity: 0; transform: translateY(45px) scale(.93); }
   to { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  color: #193253;
  font-size: 1.35rem;
}
.cookie-modal .cookie-category {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1.09rem;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: #F4B942;
  width: 17px; height: 17px;
}
.cookie-modal .category-desc {
  margin-bottom: 10px;
  margin-left: 26px;
  font-size: 0.98rem;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #2d3c57;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus {
   color: #F4B942;
}

@media (max-width: 600px) {
  .cookie-consent {
    flex-direction: column;
    gap: 16px;
    max-width: 100vw;
    padding: 18px 5vw 14px 5vw;
    font-size: 0.92rem;
    border-radius: 10px 10px 0 0;
  }
  .cookie-modal {
    max-width: 97vw;
    padding: 24px 7vw 24px 7vw;
  }
}
/* Show/hide cookie consent with a class (for JS) */
.cookie-consent.hide { display: none !important; }
.cookie-modal-overlay.hide { display: none !important; }

/* ========================
   CUSTOM SCROLLBARS
======================== */
::-webkit-scrollbar {
  width: 10px;
  background: #E6EAF1;
}
::-webkit-scrollbar-thumb {
  background: #B7C3D4;
  border-radius: 8px;
  transition: background 0.2s;
}
::-webkit-scrollbar-thumb:hover {
  background: #193253;
}

/* ========================
   ACCESSIBILITY
======================== */
:focus {
  outline: 2px solid #F4B942;
  outline-offset: 2px;
}

/* END OF STYLE SHEET */
