/* =====================
   CSS RESET & BASELINE
======================== */
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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #F5F3EF;
  color: #2D3A36;
  font-family: 'Roboto', Georgia, 'Times New Roman', Times, serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #2D3A36;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #9C7B53;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
  padding-left: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  outline: none;
  border: none;
  background: none;
  color: inherit;
}
button {
  cursor: pointer;
}
::selection {
  background: #9C7B53;
  color: #fff;
}

/* =====================
   CONTAINER & LAYOUT
======================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 32px;
  }
}

/* =====================
   TYPOGRAPHY
======================== */
h1, .h1 {
  font-family: 'Montserrat', Georgia, Times, serif;
  font-weight: 700;
  font-size: 2.75rem;
  letter-spacing: 0.01em;
  line-height: 1.16;
  margin-bottom: 16px;
  color: #2D3A36;
}
h2, .h2 {
  font-family: 'Montserrat', Georgia, Times, serif;
  font-weight: 600;
  font-size: 2.125rem;
  letter-spacing: 0;
  margin-bottom: 14px;
  color: #2D3A36;
}
h3, .h3 {
  font-family: 'Montserrat', Georgia, Times, serif;
  font-weight: 500;
  font-size: 1.25rem;
  color: #2D3A36;
  margin-bottom: 10px;
}
h4, .h4 {
  font-family: 'Montserrat', Georgia, Times, serif;
  font-weight: 500;
  font-size: 1rem;
  color: #2D3A36;
}
p, ul, ol, li, a {
  font-family: 'Roboto', Times, serif;
  font-size: 1rem;
}
p {
  margin-bottom: 20px;
}
ul li, ol li {
  margin-bottom: 10px;
  line-height: 1.7;
}
strong {
  font-weight: bold;  
  color: #2D3A36;
}

@media (max-width: 768px) {
  h1, .h1 {
    font-size: 2rem;
  }
  h2, .h2 {
    font-size: 1.5rem;
  }
  h3, .h3 {
    font-size: 1.1rem;
  }
}

/* =====================
   HEADER & NAVIGATION
======================== */
header {
  background-color: #F5F3EF;
  border-bottom: 1px solid #e3dfd9;
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 32px;
}
header img[alt="RaumKunst Köln"] {
  width: 156px;
  height: auto;
  margin-right: 28px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  padding: 6px 10px;
  font-family: 'Montserrat', Georgia, Times, serif;
  font-size: 1rem;
  color: #2D3A36;
  font-weight: 500;
  border-radius: 5px;
  transition: color 0.2s, background 0.2s;
}
.main-nav a.active, .main-nav a:focus {
  background: #E9E5DE;
  color: #9C7B53;
}
.main-nav a:hover {
  color: #9C7B53;
  background: #f5f3ef;
}

.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Georgia, Times, serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: #fff !important;
  background-color: #2D3A36;
  border-radius: 28px;
  padding: 10px 32px;
  margin-left: 24px;
  box-shadow: 0 1.5px 8px rgba(44,37,28,0.09);
  transition: background 0.23s, color 0.18s, box-shadow 0.18s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #9C7B53;
  color: #fff !important;
  box-shadow: 0 4px 24px rgba(44,37,28,0.14);
  text-decoration: none;
}

/* Hamburger for Mobile Navigation */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #2D3A36;
  display: none;
  margin-left: 20px;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  z-index: 1101;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #E9E5DE;
  color: #9C7B53;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
  }
  .cta-btn {
    margin-left: 10px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
    gap: 10px;
    min-height: 56px;
  }
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header img[alt="RaumKunst Köln"] {
    width: 120px;
    margin-right: 10px;
  }
}

/* =====================
 MOBILE MENU OVERLAY
======================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(245,243,239,0.99);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.77,0,.18,1);
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2.3rem;
  background: none;
  border: none;
  color: #2D3A36;
  padding: 18px 24px 0 0;
  margin-bottom: 18px;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 1300;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #9C7B53;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  width: 100%;
  padding-right: 28px;
  padding-bottom: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', serif;
  font-weight: 500;
  font-size: 1.15rem;
  color: #2D3A36;
  background: none;
  border-radius: 8px;
  padding: 10px 24px;
  text-align: right;
  width: 100%;
  margin-left: 0;
  transition: background .18s, color .18s;
}
.mobile-nav a:active, .mobile-nav a.active, .mobile-nav a:focus {
  background: #E9E5DE;
  color: #9C7B53;
}
.mobile-nav a:hover {
  color: #9C7B53;
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* =====================
   HERO SECTION
======================== */
.hero {
  background: #fff;
  border-bottom: 1.5px solid #EBE3D3;
  padding: 66px 0 54px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}
.hero h1 {
  color: #2D3A36;
  margin-bottom: 10px;
}
.hero p {
  color: #4F564D;
  font-size: 1.23rem;
}

@media (max-width: 768px) {
  .hero {
    padding: 32px 0 18px 0;
  }
  .hero .content-wrapper {
    padding: 0 8px;
    gap: 16px;
  }
  .hero h1 {
    font-size: 1.42rem;
  }
  .hero p {
    font-size: 1.03rem;
  }
}

/* =====================
    FEATURES / CARDS
======================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-top: 18px;
}
.feature-grid > div {
  flex: 1 1 220px;
  max-width: 280px;
  min-width: 220px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(50,51,52,0.045);
  padding: 24px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.21s, transform 0.18s;
  position: relative;
  margin-bottom: 20px;
}
.feature-grid > div:hover,
.feature-grid > div:focus-within {
  box-shadow: 0 8px 28px 2px rgba(156,123,83,0.08);
  transform: translateY(-2px) scale(1.017);
}
.feature-grid img {
  width: 44px; height: 44px;
  margin-bottom: 12px;
  filter: brightness(0.85);
}
.feature-grid h3 {
  font-size: 1.1rem;
  color: #9C7B53;
  margin-bottom: 9px;
  font-family: 'Montserrat', Georgia, serif;
}
.feature-grid p {
  color: #444C47;
  font-size: 1rem;
  text-align: center;
}
@media (max-width: 1000px) {
  .feature-grid {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .feature-grid > div {
    max-width: 100%;
    min-width: unset;
    border-radius: 13px;
    padding: 16px 12px 14px 12px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1.5px 14px 0 rgba(52,51,49,0.07);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.17s, transform 0.14s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 19px 4px rgba(156,123,83,0.055);
  transform: translateY(-1px) scale(1.009);
}

.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;
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.text-section ul,
.text-section ol {
  margin: 14px 0 16px 22px;
  padding: 0;
}
.text-section h3 {
  margin-bottom: 6px;
}

/* Typography for author info in testimonials */
.author-details {
  color: #9C7B53;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 500;
  font-size: 0.97rem;
  margin-top: 10px;
  letter-spacing: 0.01em;
}

/* =====================
   TESTIMONIAL CARDS
======================== */
.testimonial-card {
  background: #fff;
  border-left: 5px solid #9C7B53;
  border-radius: 13px;
  box-shadow: 0 2px 17px 0 rgba(156,123,83,0.05);
  padding: 20px 32px;
  min-width: 0;
  margin-bottom: 24px;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card p {
  color: #312e28;
  margin-bottom: 0;
  font-size: 1.12rem;
  font-family: 'Montserrat', Georgia, serif;
  font-style: italic;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 23px 5px rgba(156,123,83,0.11);
  border-left: 5px solid #2D3A36;
}
@media (max-width: 768px) {
  .testimonial-card {
    padding: 12px 14px;
    border-radius: 9px;
  }
  .testimonial-card p {
    font-size: 0.98rem;
  }
}

/* =====================
    FOOTER
======================== */
footer {
  background: #2D3A36;
  color: #F5F3EF;
  font-size: 1rem;
  padding: 56px 0 0 0;
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.footer-columns > div {
  flex: 1 1 180px;
  min-width: 160px;
  max-width: 250px;
  margin-bottom: 8px;
}
footer img[alt="RaumKunst Köln"] {
  width: 48px;
  margin-bottom: 10px;
}
footer a {
  color: #F5F3EF;
  font-family: 'Montserrat', serif;
  font-weight: 400;
  font-size: 1rem;
  opacity: 0.94;
  margin-bottom: 10px;
  transition: color 0.16s;
}
.footer-nav, .legal-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-nav a, .legal-nav a {
  color: #F5F3EF;
  opacity: 0.95;
  padding-left: 0;
  padding-top: 0.5px;
  transition: color 0.18s;
}
.footer-nav a:hover, .legal-nav a:hover { color: #9C7B53; }
.footer-copy {
  border-top: 1px solid #80756c;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  color: #E9E5DE;
  padding: 14px 0 14px 5px;
  text-align: left;
}
.social-links {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 4px;
}
.social-links a img {
  width: 28px; height: 28px;
  filter: grayscale(0.5) contrast(0.92);
  opacity: 0.93;
  transition: filter 0.17s, opacity 0.17s;
}
.social-links a:hover img {
  filter: none; opacity: 1;
}
@media (max-width: 950px) {
  .footer-columns { flex-wrap: wrap; gap: 20px; }
}
@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
    gap: 20px;
  }
  .footer-columns > div {
    max-width: 100%;
    min-width: unset;
  }
  footer {
    padding: 36px 0 0 0;
    font-size: 0.97rem;
  }
}

/* =====================
    BUTTONS & INTERACTION
======================== */
button, .cta-btn {
  transition: background 0.21s, color 0.18s, box-shadow 0.16s, border 0.18s;
}

/* =====================
    COOKIE CONSENT BANNER
========================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #2D3A36;
  border-top: 1.5px solid #e0dbd1;
  box-shadow: 0 -2px 24px 7px rgba(44,37,28,0.03);
  z-index: 2000;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 26px 10vw 16px 10vw;
  min-width: 0;
  font-family: 'Roboto', serif;
  animation: cookieAppear 0.5s cubic-bezier(.77,0,.18,1);
}
@keyframes cookieAppear {
  from { transform: translateY(90px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  flex: 3 1 220px;
  font-size: 1rem;
  color: #2D3A36;
  min-width: 0;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', serif;
  padding: 8px 26px;
  border: none;
  border-radius: 28px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, color 0.17s, box-shadow 0.16s;
  box-shadow: 0 1.5px 7px rgba(44,37,28,0.06);
}
.cookie-accept {
  background: #2D3A36;
  color: #fff;
}
.cookie-accept:hover,
.cookie-accept:focus {
  background: #9C7B53;
}
.cookie-reject {
  background: #e9e5de;
  color: #2D3A36;
}
.cookie-reject:hover,
.cookie-reject:focus {
  background: #C3BAAC;
}
.cookie-settings {
  background: transparent;
  color: #9C7B53;
  border: 1px solid #9C7B53;
}
.cookie-settings:hover,
.cookie-settings:focus {
  background: #9C7B53;
  color: #fff;
}
@media (max-width: 680px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 0.98rem;
    padding: 20px 12px 14px 12px;
  }
  .cookie-banner__actions {
    gap: 8px;
    flex-wrap: wrap;
  }
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  position: fixed;
  z-index: 2100;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(40,31,19,0.21);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal__content {
  background: #fff;
  color: #2D3A36;
  border-radius: 13px;
  box-shadow: 0 6px 38px 9px rgba(146,122,90,0.13);
  max-width: 470px;
  width: 90vw;
  padding: 38px 28px 28px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalPopUp 0.38s cubic-bezier(.77,0,.18,1);
}
@keyframes modalPopUp {
  from { transform: translateY(82px) scale(0.98); opacity: 0.2; }
  to   { transform: none; opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 11px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.73rem;
  color: #9C7B53;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal-close:hover {
  color: #2D3A36;
}
.cookie-modal__title {
  font-family: 'Montserrat', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #2D3A36;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 9px;
}
.cookie-toggle-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 3px;
}
.cookie-toggle {
  width: 36px; height: 20px;
  border-radius: 11px;
  background: #CBC4B1;
  position: relative;
  transition: background 0.18s;
  cursor: pointer;
  flex-shrink: 0;
}
.cookie-toggle input[type="checkbox"] {
  display: none;
}
.cookie-toggle-slider {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px; height: 14px;
  border-radius: 100%;
  background: #fff;
  box-shadow: 0 1.5px 6px rgba(44,37,28,0.12);
  transition: left 0.19s;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  left: 19px;
  background: #9C7B53;
}
.cookie-toggle input:checked ~ .cookie-toggle {
  background: #9C7B53;
}
.cookie-toggle[aria-disabled="true"] {
  background: #e9e5de !important;
  cursor: not-allowed;
  opacity: 0.63;
}
.cookie-modal__actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 18px;
}

/* =====================
   FORM ELEMENTS (Contact)
======================== */
input[type="text"], input[type="email"], textarea {
  background: #f8f6f3;
  border: 1.2px solid #e3dfd9;
  border-radius: 8px;
  padding: 12px 14px;
  width: 100%;
  font-size: 1rem;
  font-family: 'Roboto', Times, serif;
  margin-bottom: 16px;
  transition: border 0.18s, background 0.17s;
}
input:focus, textarea:focus {
  border-color: #9C7B53;
  background: #fff;
}
label {
  font-family: 'Montserrat', serif;
  font-size: 1.04rem;
  color: #2D3A36;
  font-weight: 500;
  margin-bottom: 7px;
  display: inline-block;
}

/* =====================
   SPACING FOR LAYOUTS
======================== */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 12px;
  }
}

/* =====================
   UTILS & HELPERS
======================== */
.hide-mobile {
  display: block;
}
@media (max-width: 768px){ .hide-mobile { display: none !important; } }

.show-mobile {
  display: none;
}
@media (max-width:768px){ .show-mobile { display: block !important; } }

.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 16px !important; }

/* =====================
   SCROLLBAR
======================== */
::-webkit-scrollbar { width: 12px; background: #F5F3EF; }
::-webkit-scrollbar-thumb { background: #e0dbc9; border-radius: 100px; }
::-webkit-scrollbar-thumb:hover { background: #c4b599; }

/* =====================
   SIMPLE ANIMATIONS
======================== */
@media (prefers-reduced-motion: no-preference) {
  a, .cta-btn, button, .mobile-menu-toggle, .mobile-menu-close {
    transition: color 0.17s, background 0.19s, box-shadow 0.17s, border 0.16s;
  }
  .feature-grid > div, .card, .testimonial-card {
    transition: box-shadow .23s, transform .19s, border-color .18s;
  }
}

/* =====================
   OTHER
======================== */
hr {
  border: none;
  border-top: 1.5px solid #e0dbd1;
  margin: 34px 0 36px 0;
}

/* =====================
   Z-INDEX FOR OVERLAYS
======================== */
header, nav, .mobile-menu, .cookie-banner, .cookie-modal { z-index: 1000; }

/* END OF STYLE.CSS */
