/* ========================================================
   Berlin Bildkunst – LUXURY PREMIUM STYLE CSS
   Author: Professional Web UI Designer
   ======================================================== */

/* ========== CSS RESET & NORMALIZE ========== */
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;
  background: #F8F5F2;
}
body {
  line-height: 1.6;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #222A35;
  background: #F8F5F2;
  min-height: 100vh;
  position: relative;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a { text-decoration: none; color: inherit; transition: color 0.2s; }
ol, ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; border: 0; }
button, input, select, textarea { font-family: inherit; font-size: 100%; outline: none; }

/* ========== BRAND LUXURY COLORS (variables) ========== */
:root {
  --color-primary: #222A35;
  --color-secondary: #D60265;
  --color-accent: #F8F5F2;
  --color-gold: #C8AC6D;
  --color-gold-dark: #9E8852;
  --color-grey-100: #F8F5F2;
  --color-grey-200: #EEE9E5;
  --color-grey-300: #E0D5C6;
  --color-dark: #130F13;

  --font-display: 'Montserrat', 'Arial', sans-serif;
  --font-body: 'Open Sans', 'Arial', sans-serif;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.75rem; /* 44px */
  line-height: 1.1;
  margin-bottom: 20px;
}
h2 {
  font-size: 2.0rem; /* 32px */
  margin-bottom: 18px;
}
h3 {
  font-size: 1.375rem; /* 22px */
  margin-bottom: 12px;
}
h4 {
  font-size: 1.125rem;
}
p, ul, ol, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
}
p.subheadline {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: var(--color-secondary);
  margin-bottom: 20px;
  font-weight: 500;
}
strong { color: var(--color-primary); font-weight: 700; }

/* ========== GLOBAL STRUCTURE & SPACING ========== */
.container {
  width: 100%;
  max-width: 1120px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
}
.content-wrapper {
  padding: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 16px;
  box-shadow: 0 4px 32px 0 rgba(200,172,109,0.12);
}
/* Remove background for hero */
main > section:first-child .content-wrapper,
main > section:first-child {
  background: none;
  box-shadow: none;
  padding-top: 32px;
}

/* ========== FLEX UTILITY CLASSES & PATTERNS ========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px 0 rgba(34,42,53,0.05);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(200,172,109,0.15);
  transform: translateY(-2px) scale(1.02);
}
.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;
}
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 30px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 20px;
  background: #fff;
  box-shadow: 0 4px 24px 0 rgba(34,42,53,0.08);
  border-radius: 12px;
  min-width: 255px;
  max-width: 370px;
  flex: 1 1 260px;
  border-left: 5px solid var(--color-gold);
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(200,172,109,0.16);
  transform: translateY(-1px) scale(1.017);
}
.testimonial-meta {
  color: var(--color-secondary);
  font-size: 0.97rem;
  margin-top: 6px;
  font-style: italic;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 28px 22px 22px 22px;
  border-radius: 14px;
  box-shadow: 0 4px 24px 0 rgba(200,172,109,0.08);
  min-width: 220px;
  position: relative;
  border-top: 3.5px solid var(--color-gold);
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border-color 0.22s;
}
.feature-item:hover {
  box-shadow: 0 8px 32px 0 rgba(200,172,109,0.15);
  border-top: 3.5px solid var(--color-secondary);
}

.service-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 14px;
  gap: 8px;
  font-size: 1.03rem;
  line-height: 1.5;
}

.community-logos {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: flex-start;
}

.text-section {
  margin-bottom: 28px;
  color: var(--color-primary);
}
.text-section ul,
.text-section ol {
  margin-left: 24px;
  margin-bottom: 20px;
  list-style: disc;
}
.text-section li {
  margin-bottom: 7px;
}

ul, ol {
  margin-left: 24px;
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 9px;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 24px 0 rgba(200,172,109,0.06);
  position: relative;
  z-index: 10;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  min-height: 64px;
  gap: 18px;
}
.logo img {
  height: 44px;
  max-width: 160px;
  transition: filter 0.18s;
  filter: brightness(1) contrast(1.1);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.07rem;
  letter-spacing: .01em;
  color: var(--color-primary);
  padding: 8px 6px;
  border-radius: 5px;
  transition: color .19s, background .17s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-gold);
  background: #F8F5F2;
  outline: none;
}
.cta-btn.primary {
  background: var(--color-gold);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 30px;
  border-radius: 30px;
  border: none;
  letter-spacing: 0.03em;
  box-shadow: 0 0.5px 4px 0 rgba(200,172,109,0.13);
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.18s, color .18s, transform .14s;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: var(--color-secondary);
  color: #fff;
  outline: none;
  box-shadow: 0 4px 16px 0 rgba(214,2,101,0.15);
  transform: translateY(-2px) scale(1.035);
}

/* ========== MOBILE NAVIGATION ========== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 18px;
  background: var(--color-gold);
  border: none;
  color: var(--color-primary);
  font-size: 2rem;
  line-height: 1;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  justify-content: center;
  align-items: center;
  z-index: 31;
  cursor: pointer;
  box-shadow: 0 0 8px 0 rgba(200,172,109,.08);
  transition: background 0.18s, color 0.16s, box-shadow 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-secondary);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 5px 40px rgba(34,42,53,0.18);
  z-index: 1100;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.36s cubic-bezier(.48,.02,.37,.98), opacity 0.25s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 8vw;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--color-secondary);
  font-weight: 700;
  position: absolute;
  top: 22px;
  right: 32px;
  cursor: pointer;
  z-index: 1201;
  transition: color 0.19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-gold);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 80px;
  width: 100%;
  gap: 14px;
}
.mobile-nav a {
  padding: 17px 0 17px 6px;
  font-size: 1.15rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--color-primary);
  border-radius: 6px;
  transition: background .15s, color .16s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-gold);
  color: var(--color-secondary);
}

@media (max-width: 1000px) {
  .main-nav {
    gap: 16px;
  }
  .cta-btn.primary {
    padding: 9px 20px;
    font-size: 0.96rem;
  }
}
@media (max-width: 850px) {
  .main-nav {
    gap: 10px;
    font-size: .96em;
  }
  .cta-btn.primary {
    margin-left: 0;
  }
}
@media (max-width: 850px) {
  .main-nav {
    display: none;
  }
  .cta-btn.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .container {
    min-height: 56px;
  }
}
@media (min-width: 851px) {
  .mobile-menu { display: none!important; }
  .mobile-menu-toggle { display: none!important; }
}

/* ========== FOOTER ========== */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 52px 0 0 0;
  font-family: var(--font-body);
  box-shadow: 0 -4px 36px 0 rgba(34,42,53,0.09);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 34px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 180px;
}
.footer-nav a {
  color: var(--color-gold);
  font-size: 1rem;
  letter-spacing: 0.015em;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
  text-decoration: underline;
}
.footer-contact {
  min-width: 210px;
  color: var(--color-accent);
  font-size: 0.96rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-contact img {
  height: 46px;
  width: auto;
  margin-bottom: 9px;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-social img {
  height: 36px;
  width: 36px;
  border-radius: 50%;
  filter: grayscale(40%) contrast(1.1);
  transition: filter 0.19s, transform .16s;
  background: #fff;
}
.footer-social img:hover {
  filter: none;
  transform: scale(1.09);
}
.footer-newsletter {
  font-size: 0.96rem;
  margin-top: 8px;
  max-width: 320px;
}
.footer-newsletter a {
  color: var(--color-secondary);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.18s;
}
.footer-newsletter a:hover {
  color: var(--color-gold-dark);
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
}

@media (max-width: 550px) {
  .footer-newsletter { max-width: 100%; }
  .footer-contact img { height: 35px; }
  .footer-social img { height: 28px; width: 28px; }
}

/* ========== BUTTONS & INTERACTIVES ========== */
button, .cta-btn {
  font-family: var(--font-display);
  border: none;
  outline: none;
  cursor: pointer;
  transition: background .18s, color .15s, box-shadow .19s;
}
.cta-btn.secondary {
  background: none;
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 28px;
  transition: background .18s, color .17s, border-color .18s;
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: var(--color-gold);
  color: var(--color-primary);
  border-color: var(--color-secondary);
}

/* ========== FORMS (if present) ========== */
input, textarea, select {
  border: 1.5px solid var(--color-grey-300);
  border-radius: 7px;
  font-size: 1rem;
  padding: 11px 12px;
  background: #fff;
  color: var(--color-primary);
  margin-bottom: 16px;
  width: 100%;
  box-shadow: none;
  transition: border-color 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-secondary);
  outline: 0;
}
label { font-weight: 600; font-family: var(--font-body); }

/* ========== COOKIE CONSENT BANNER & MODAL ========== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2500;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  background: #fff;
  box-shadow: 0 -3px 26px 0 rgba(200,172,109,0.17);
  border-top: 3px solid var(--color-gold);
  font-size: 1.05rem;
  font-family: var(--font-body);
  color: var(--color-primary);
  transition: transform 0.35s cubic-bezier(.55, .08, .55, 1.06), opacity .26s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.cookie-banner button, .cookie-banner .cta-btn {
  font-size: 1rem;
  border-radius: 28px;
  padding: 8px 20px;
  margin: 0 4px;
}
.cookie-banner .accept {
  background: var(--color-gold);
  color: var(--color-primary);
  font-weight: 700;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-banner .reject {
  background: none;
  border: 2px solid var(--color-secondary);
  color: var(--color-secondary);
  font-weight: 600;
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-banner .settings {
  background: none;
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  background: var(--color-gold);
  color: var(--color-primary);
}

.cookie-modal-overlay {
  position: fixed;
  z-index: 2600;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,42,53,0.30);
  backdrop-filter: blur(2.5px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
  justify-content: center;
  align-items: center;
  display: flex;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 460px;
  width: 100%;
  padding: 32px 26px 24px 26px;
  box-shadow: 0 8px 44px 0 rgba(200,172,109,0.18);
  font-family: var(--font-body);
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: transform 0.35s;
}
.cookie-modal h3 {
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-bottom: 13px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.cookie-toggle {
  display: inline-block;
  width: 34px;
  height: 18px;
  border-radius: 9px;
  background: var(--color-grey-300);
  position: relative;
  transition: background 0.18s;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle .slider {
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--color-secondary);
  border-radius: 50%;
  top: 0; left: 0;
  transition: left 0.18s, background 0.18s;
}
.cookie-toggle input:checked + .slider {
  left: 16px;
  background: var(--color-gold);
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 13px;
  margin-top: 22px;
}
.cookie-modal .cookie-actions .cta-btn,
.cookie-modal .cookie-actions button {
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 24px;
}
.cookie-modal .cookie-actions .accept {
  background: var(--color-gold);
  color: var(--color-primary);
}
.cookie-modal .cookie-actions .accept:hover,
.cookie-modal .cookie-actions .accept:focus {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-modal .cookie-actions .reject {
  background: none;
  border: 2px solid var(--color-secondary);
  color: var(--color-secondary);
}
.cookie-modal .cookie-actions .reject:hover,
.cookie-modal .cookie-actions .reject:focus {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-modal .cookie-actions .close {
  background: none;
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
}
.cookie-modal .cookie-actions .close:hover,
.cookie-modal .cookie-actions .close:focus {
  background: var(--color-gold);
  color: var(--color-primary);
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 12px;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-banner-buttons { gap: 10px; }
  .cookie-modal {
    max-width: 97vw;
    padding: 24px 10px 18px 10px;
  }
}

/* ========== RESPONSIVE QUERIES ========== */
@media (max-width: 1000px) {
  .container { max-width: 95vw; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }
}
@media (max-width: 900px) {
  .section { padding: 26px 8px; margin-bottom: 48px; }
  .feature-grid { gap: 18px; }
  .content-wrapper { padding: 0; }
  .card-container, .testimonials, .community-logos { gap: 14px; }
}
@media (max-width: 768px) {
  .container { max-width: 100vw; padding: 0 8px; }
  .section { padding: 14px 2px; margin-bottom: 32px; }
  .feature-grid, .testimonials, .community-logos, .card-container, .footer-nav {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
  .footer-social {
    gap: 10px;
  }
  .cta-btn.primary, .cta-btn.secondary {
    width: 100%;
    max-width: 260px;
    margin: 12px auto 0 auto;
    display: block;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.11rem; }
  .container { padding-left: 4px; padding-right: 4px; }
  .section { padding: 7px 1px; margin-bottom: 18px; }
}

/* ========== MISC & SUPPORTIVE STYLES ========== */
::-webkit-input-placeholder { color: #999; opacity: 1; }
::-moz-placeholder { color: #999; opacity: 1; }
:-ms-input-placeholder { color: #999; opacity: 1; }
::placeholder { color: #999; opacity: 1; }

hr {
  border: none;
  border-top: 1.5px solid var(--color-grey-200);
  margin: 26px 0;
}

/* ========== MICRO-INTERACTIONS & TRANSITIONS ========== */
a, button, .cta-btn, .main-nav a, .footer-nav a, .mobile-nav a {
  transition: color .18s, background .19s, box-shadow .18s, transform .15s;
}
img, .card, .feature-item, .cta-btn {
  transition: box-shadow .18s, transform .17s;
}

/* ========== VISIBILITY HELPERS ========== */
.sr-only { position: absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border: 0; }

/* Highlight gold for luxury details */
.gold-text { color: var(--color-gold); }
.gold-border { border-color: var(--color-gold); }

/* ========== PRINT SUPPORT ========== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .section { box-shadow: none !important; background: none !important; }
}
