/* ==== 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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
html {
  line-height: 1.5;
  font-size: 16px;
}
body {
  background: #E5DED3;
  color: #243B5A;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #243B5A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #91745E;
  text-decoration: underline;
}
ul, ol {
  list-style-type: disc;
  padding-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
*, *:before, *:after {
  box-sizing: inherit;
}
button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  outline: none;
}

/* ==== BRAND COLOR VARIABLES ==== */
:root {
  --primary: #243B5A;
  --secondary: #E5DED3;
  --accent: #91745E;
  --brand-bg: #FFFFFF;
  --brand-shadow: rgba(36,59,90,0.07);
  --neutral: #F8F6F2;
  --danger: #bb2222;
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  color: #243B5A;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 0.6em;
  font-weight: 700;
}
h2 {
  font-size: 2rem;
  margin-bottom: 0.7em;
  font-weight: 600;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 0.45em;
  font-weight: 500;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 0.25em;
}
p, li {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1.06rem;
  color: #243B5A;
  line-height: 1.7;
  letter-spacing: 0.004em;
}
p {
  margin-bottom: 1.25em;
}
blockquote {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.22rem;
  color: #91745E;
  background: #f5f2ee;
  border-left: 3px solid #91745E;
  padding: 18px 30px 18px 18px;
  margin: 24px 0 24px 0;
  border-radius: 6px;
  font-style: italic;
}
strong, b {
  color: #6B4A27;
  font-weight: 600;
}
.subheadline {
  font-size: 1.25rem;
  color: #91745E;
  font-family: 'Merriweather', Georgia, serif;
  font-style: italic;
  margin-bottom: 1.6em;
}

/* ==== SPACING & LAYOUT UTILS ==== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature-grid,
.event-listing {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 12px;
  justify-content: flex-start;
}
.event-listing > div,
.feature-grid > div {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 28px 28px 24px 28px;
  box-shadow: 0 4px 18px var(--brand-shadow);
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1px solid #e2dbce;
  margin-bottom: 20px;
}
.event-listing > div:hover,
.feature-grid > div:hover {
  box-shadow: 0 8px 24px rgba(36,59,90,0.15);
  transform: translateY(-2px) scale(1.01);
  border-color: #C1B59A;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  box-shadow: 0 2px 12px var(--brand-shadow);
  border-radius: 10px;
  padding: 22px 18px 22px 18px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 20px rgba(36,59,90,0.15);
  transform: translateY(-2px) scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  margin-top: 14px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(36,59,90,0.10);
  border-left: 6px solid #91745E;
  transition: box-shadow 0.19s, transform 0.19s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 30px rgba(36,59,90,0.13);
  transform: scale(1.018);
}
.testimonial-card blockquote {
  margin: 0 0 0.7em 0;
  background: none;
  padding: 0;
  border: none;
  color: #243B5A;
  font-size: 1.13rem;
  font-style: italic;
}
.testimonial-card p {
  margin: 0 0 0.25em 0;
  color: #6B4A27;
  font-weight: 500;
}
.testimonial-card > div span {
  color: #91745E;
  font-size: 1.2em;
  letter-spacing: 0.04em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 22px;
}
.timeline {
  margin-top: 1em;
  margin-bottom: 2em;
  padding-left: 10px;
  border-left: 3px solid #d1bda7;
}
.timeline h3 {
  margin-bottom: 0.5em;
  color: #91745E;
}
.timeline ul {
  list-style-type: disc;
  margin-left: 20px;
}

/* ==== HEADER ==== */
header {
  background: #fff;
  box-shadow: 0 2px 12px var(--brand-shadow);
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 18px;
}
header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: #243B5A;
  font-size: 1rem;
  padding: 7px 10px;
  border-radius: 7px;
  transition: background 0.13s, color 0.13s;
  position: relative;
}
header nav a:hover, header nav a.active {
  background: #E5DED3;
  color: #91745E;
  text-decoration: none;
}
header .btn-primary {
  margin-left: 16px;
}
header img[alt="Saphirne Weiten Wien"] {
  height: 48px;
  max-width: 220px;
  margin-right: 18px;
}

/* ==== BUTTONS ==== */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.08rem;
  padding: 0.75em 2em;
  border-radius: 7px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: none;
  transition: background 0.18s, transform 0.16s, box-shadow 0.17s;
  box-shadow: 0 1px 7px rgba(36,59,90,0.09);
  cursor: pointer;
  text-align: center;
  margin-top: 12px;
  margin-bottom: 8px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #91745E;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 2px 12px rgba(36,59,90,0.13);
  text-decoration: none;
}
.btn-secondary {
  background: #E5DED3;
  color: #243B5A;
  border: 1px solid #d5c1a6;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #91745E;
  color: #fff;
  border-color: #91745E;
}
.btn-accent {
  background: #91745E;
  color: #fff;
}
.btn-accent:hover, .btn-accent:focus {
  background: #6B4A27;
}

/* ==== FOOTER ==== */
footer {
  background: #243B5A;
  color: #fff;
  padding-top: 40px;
  padding-bottom: 26px;
  margin-top: 40px;
  font-size: 1rem;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer nav a {
  color: #fff;
  background: none;
  font-size: 1rem;
  padding: 0;
}
footer nav a:hover {
  text-decoration: underline;
  color: #E5DED3;
}
footer ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}
footer ul li a {
  color: #c7c7c7;
  font-size: 0.98rem;
}
footer ul li a:hover {
  color: #fff;
  text-decoration: underline;
}
footer .social-links {
  display: flex;
  gap: 18px;
}
footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #91745E;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  transition: background 0.2s, box-shadow 0.19s;
}
footer .social-links a:hover {
  background: #fff;
  box-shadow: 0 1px 8px rgba(36,59,90,0.12);
}
footer .social-links img {
  width: 20px;
  height: 20px;
}
footer small {
  display: block;
  margin-top: 18px;
  color: #c7c7c7;
  font-size: 0.95rem;
}

/* ==== MOBILE NAVIGATION ==== */
.mobile-menu-toggle {
  display: none;
  background: #243B5A;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1.7rem;
  height: 44px;
  width: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #91745E;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #fff;
  z-index: 1000;
  padding-top: 34px;
  padding-left: 32px;
  padding-right: 32px;
  transition: transform 0.41s cubic-bezier(.81,.04,.13,.91);
  transform: translateX(100%);
  box-shadow: -12px 0 38px rgba(36,59,90,0.13);
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  color: #243B5A;
  border: none;
  font-size: 2rem;
  position: absolute;
  top: 12px; right: 24px;
  z-index: 1012;
  transition: color 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #91745E;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 34px;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  color: #243B5A;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.15rem;
  padding: 14px 0;
  border-bottom: 1px solid #e5ded3;
  transition: color 0.13s, background 0.14s;
  border-radius: 4px;
  text-align: left;
  width: 100%;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover {
  background: #E5DED3;
  color: #91745E;
}

@media (max-width: 950px) {
  header nav, header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 951px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ==== HERO & SECTION STYLES ==== */
section {
  background: none;
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
section .container {
  width: 100%;
}

/* ==== LISTS & DETAILS ==== */
ul, ol {
  margin-bottom: 1.2em;
  margin-top: 0.5em;
}
ul li, ol li {
  margin-bottom: 0.4em;
  font-size: 1.06rem;
  color: #243B5A;
  font-family: 'Source Sans Pro', Arial, sans-serif;
}
ul li img, ol li img {
  margin-right: 6px;
  vertical-align: middle;
  height: 20px;
}

/* ==== FORMS (if needed, generic) ==== */
input, textarea, select {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  border: 1px solid #C1B59A;
  background: #fff;
  padding: 11px 12px;
  border-radius: 6px;
  outline: none;
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: #91745E;
}

/* ==== COOKIE CONSENT BANNER ==== */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #243B5A;
  color: #fff;
  box-shadow: 0 -2px 16px rgba(36,59,90,0.15);
  z-index: 2000;
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 1rem;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  animation: slideInCookie 0.5s;
}
@keyframes slideInCookie {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
#cookie-banner button {
  margin-left: 10px;
  margin-top: 0;
  margin-bottom: 0;
}
#cookie-banner .cookie-accept {
  background: #91745E;
  color: #fff;
  padding: 7px 20px;
  border-radius: 7px;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1rem;
  border: none;
  margin-right: 6px;
  transition: background 0.12s;
}
#cookie-banner .cookie-accept:hover {
  background: #6B4A27;
}
#cookie-banner .cookie-reject {
  background: #fff;
  color: #243B5A;
  border: 1px solid #d1bda7;
  padding: 7px 16px;
  border-radius: 7px;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1rem;
  margin-right: 6px;
  transition: background 0.14s, color 0.14s;
}
#cookie-banner .cookie-reject:hover {
  background: #d1bda7;
  color: #91745E;
}
#cookie-banner .cookie-settings {
  background: transparent;
  color: #fff;
  text-decoration: underline;
  border: none;
  padding: 7px 10px;
  border-radius: 6px;
  margin-right: 0;
  transition: background 0.13s, color 0.13s;
}
#cookie-banner .cookie-settings:hover {
  background: #91745E;
  color: #fff;
}

/* ==== COOKIE MODAL ==== */
#cookie-modal {
  position: fixed;
  z-index: 2100;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(36,59,90,0.45);
  display: flex;
  align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.22s;
}
#cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
#cookie-modal .modal-content {
  background: #fff;
  color: #243B5A;
  border-radius: 14px;
  max-width: 390px;
  width: 95vw;
  padding: 32px 28px 24px 28px;
  box-shadow: 0 4px 40px rgba(36,59,90,0.16);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  animation: fadeInModal 0.41s ease;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
#cookie-modal h2 {
  color: #91745E;
  font-size: 1.35rem;
  margin-bottom: 10px;
}
#cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 1rem;
}
#cookie-modal input[type="checkbox"] {
  accent-color: #91745E;
}
#cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
#cookie-modal .cookie-save {
  background: #91745E;
  color: #fff;
  padding: 7px 20px;
  border-radius: 7px;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1rem;
  border: none;
  transition: background 0.14s;
}
#cookie-modal .cookie-save:hover {
  background: #243B5A;
}
#cookie-modal .cookie-cancel {
  background: transparent;
  color: #243B5A;
  border: none;
  font-size: 1rem;
  padding: 7px 16px;
  border-radius: 7px;
  text-decoration: underline;
  transition: color 0.18s;
}
#cookie-modal .cookie-cancel:hover {
  color: #91745E;
}

/* ==== RESPONSIVE STYLES ==== */
@media (max-width: 1100px) {
  .feature-grid > div, .event-listing > div {
    min-width: 210px;
    max-width: 100%;
    flex: 1 0 44%;
  }
}
@media (max-width: 900px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .feature-grid, .event-listing, .card-container, .card-grid, .content-grid {
    gap: 16px;
  }
  .content-wrapper {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  section {
    padding: 26px 0 26px 0;
  }
  .content-wrapper, .text-section {
    gap: 14px;
  }
  .feature-grid, .event-listing, .card-container, .card-grid {
    flex-direction: column;
    gap: 13px;
    align-items: stretch;
  }
  .feature-grid > div, .event-listing > div {
    min-width: 90%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .timeline {
    padding-left: 6px;
    border-left-width: 2px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1rem; }
  .btn-primary, .btn-secondary {
    font-size: 0.97rem;
    padding: 12px 1em;
  }
  .testimonial-card {
    padding: 12px 10px;
  }
}

/* ==== SCROLLBAR STYLING ==== */
::-webkit-scrollbar {
  width: 11px;
  background: #F8F6F2;
}
::-webkit-scrollbar-thumb {
  background: #d3c4b0;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #91745E;
}

/* ==== VISUAL ENHANCEMENTS ==== */
.card,
.feature-grid > div,
.event-listing > div,
.testimonial-card {
  transition: box-shadow 0.19s, background 0.14s, transform 0.17s;
}
.card:active, .feature-grid > div:active, .event-listing > div:active, .testimonial-card:active {
  transform: scale(0.98);
  box-shadow: 0 2px 7px rgba(145,116,94,0.19);
}

/* ==== MISC ==== */
::-moz-selection {
  color: #fff;
  background: #91745E;
}
::selection {
  color: #fff;
  background: #91745E;
}

/* Utility: Hide visually, accessibility purposes */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ==== END ==== */
