/* --- CSS RESET & NORMALIZATION --- */
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;
}
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F6F3EA;
  color: #222;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  min-height: 100vh;
}
img, picture {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #274472;
  text-decoration: none;
  transition: color .2s;
  cursor: pointer;
}
a:hover, a:focus {
  color: #1a3356;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
input, button, select, textarea {
  font: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  padding: 0;
}
address {
  font-style: normal;
  color: #666;
  margin: 0 0 10px 0;
}

/* --- BRAND FONTS --- */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:600,700|Montserrat:400,500,600,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #274472;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
p, li, address, span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #222;
  line-height: 1.7;
}
.subtitle {
  font-size: 1.25rem;
  color: #456899;
  margin-bottom: 24px;
  font-weight: 500;
  letter-spacing: 0.03em;
}
strong {
  font-weight: 600;
  color: #274472;
}

/* --- GENERAL LAYOUT & CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(39,68,114,0.06);
  padding: 30px 22px;
}

/* --- FLEXBOX PATTERNS (AS PER INSTRUCTIONS) --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(39,68,114,0.10);
  padding: 28px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  min-height: 180px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.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: #eef2f8;
  border: 1px solid #c0cbe1;
  box-shadow: 0 1px 8px rgba(39,68,114,.07);
  border-radius: 9px;
  padding: 20px;
  margin-bottom: 20px;
  color: #222;
}
.testimonial-card blockquote {
  font-size: 1.125rem;
  font-family: 'Playfair Display', serif;
  color: #2d4566;
  quotes: "\201C" "\201D";
  font-style: italic;
  margin-right: 18px;
  flex: 1 1 auto;
  line-height: 1.5;
}
.testimonial-card strong {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #274472;
  margin-left: 8px;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.section ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section ul li img {
  margin-right: 14px;
  width: 28px;
  height: 28px;
  vertical-align: middle;
  display: inline-block;
}
.section ul li {
  display: flex;
  align-items: center;
  color: #2a2a2a;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  background: none;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #fff;
  box-shadow: 0 2px 18px rgba(39,68,114,0.08);
  margin-bottom: 10px;
  position: relative;
  z-index: 101;
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}
header img {
  height: 46px;
  margin-right: 28px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  color: #274472;
  font-size: 1rem;
  font-weight: 500;
  padding: 5px 0;
  transition: color .2s;
  position: relative;
  letter-spacing: 0.02em;
}
.main-nav a:hover, .main-nav a:focus {
  color: #C8AA6E;
}
.cta.primary {
  background: #274472;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  padding: 13px 30px;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 2px 16px 0 rgba(39,68,114,0.08);
  transition: background .18s, transform .14s;
  margin-left: 24px;
  display: inline-block;
  letter-spacing: 0.03em;
  outline: none;
}
.cta.primary:hover, .cta.primary:focus {
  background: #1a3356;
  transform: translateY(-2px) scale(1.035);
  color: #C8AA6E !important;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: #274472;
  color: #fff;
  border-radius: 6px;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  z-index: 200;
  position: absolute;
  right: 18px;
  top: 20px;
  border: none;
  transition: background .2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #C8AA6E;
  color: #274472;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(39,68,114,0.98);
  z-index: 2400;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.85,.02,.56,1.78);
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0%);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.25rem;
  padding: 20px 28px 12px 20px;
  align-self: flex-end;
  border: none;
  cursor: pointer;
  z-index: 2405;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #C8AA6E;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 35px;
  margin: 40px auto;
  width: 90vw;
  max-width: 450px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 14px 0 14px 8px;
  border-radius: 8px;
  width: 100%;
  display: block;
  transition: background .16s, color .16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #C8AA6E;
  color: #274472 !important;
}

@media (max-width: 980px) {
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  .main-nav {
    gap: 10px;
  }
  .cta.primary {
    margin-left: 10px;
    padding: 11px 16px;
    font-size: 1rem;
  }
  header img {
    height: 38px;
    margin-right: 14px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .cta.primary {
    margin-left: 0;
    font-size: 1rem;
    padding: 10px 16px;
  }
  header .container {
    flex-direction: row;
    gap: 0;
    min-height: 60px;
    padding-right: 54px;
  }
  .footer-nav {
    gap: 10px;
  }
}

/* --- BREADCRUMBS (ueber-uns.html) --- */
.breadcrumb {
  display: flex;
  flex-direction: row;
  gap: 10px;
  font-size: 0.98rem;
  color: #888;
  margin-bottom: 8px;
}
.breadcrumb li:not(:last-child):after {
  content: '/';
  margin-left: 7px;
  margin-right: 3px;
  color: #C8AA6E;
}
.breadcrumb a {
  color: #274472;
  font-weight: 500;
}

/* --- FOOTER --- */
footer {
  background: #242e3D;
  color: #fff;
  padding: 34px 0 10px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
footer img {
  height: 40px;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #C8AA6E;
  font-size: 1rem;
  font-weight: 500;
  transition: color .16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
footer address {
  font-size: 0.97rem;
  color: #d3cee3;
  margin-bottom: 6px;
}
footer small {
  font-size: 0.9rem;
  color: #C8AA6E;
}

/* --- BUTTONS / CTA --- */
.cta, .cookie-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: #274472;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  padding: 11px 26px;
  margin: 12px 8px 0 0;
  font-size: 1.09rem;
  box-shadow: 0 2px 10px 0 rgba(39,68,114,0.09);
  transition: background .15s, color .15s, transform .13s;
  cursor: pointer;
  outline: none;
}
.cookie-btn {
  padding: 9px 18px;
  font-size: 1rem;
  font-weight: 600;
}
.cta.primary {  /* Already styled above for override */ }
.cta.secondary, .cookie-btn.secondary {
  background: #fff;
  color: #274472 !important;
  border: 1.5px solid #274472;
}
.cta.secondary:hover, .cookie-btn.secondary:hover {
  background: #C8AA6E;
  color: #274472 !important;
  border-color: #C8AA6E;
}
.cookie-btn.accept-all {
  background: #274472;
  color: #fff !important;
  border: none;
}
.cookie-btn.accept-all:hover, .cookie-btn.accept-all:focus {
  background: #1a3356;
  color: #C8AA6E !important;
}
.cookie-btn.reject-all {
  background: #fff;
  color: #274472 !important;
  border: 1.5px solid #274472;
}
.cookie-btn.reject-all:hover, .cookie-btn.reject-all:focus {
  background: #eee;
  color: #274472 !important;
}
.cookie-btn.settings {
  background: #C8AA6E;
  color: #fff !important;
  border: none;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #b39660;
  color: #fff !important;
}

/* --- SECTION SPACING & CARD LISTS --- */
main {
  min-height: 60vh;
  flex: 1 1 auto;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: transparent;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
section:last-child {
  margin-bottom: 0;
}

/*****************
 * ICON ALIGNMENT
 *****************/
li img {
  min-width: 28px;
  max-width: 32px;
  vertical-align: middle;
  margin-right: 12px;
  display: inline-block;
  filter: grayscale(12%) brightness(95%);
}

/*****************
 * LIST STYLING
 *****************/
ul, ol {
  margin-bottom: 12px;
}
ul li, ol li {
  margin-bottom: 6px;
  padding-left: 0;
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}

/* --- RESPONSIVE LAYOUT --- */
@media (max-width: 640px) {
  .container {
    padding: 0 8px;
  }
  .text-section, .card {
    padding: 16px 7px;
  }
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.18rem;
  }
  h3 {
    font-size: 1rem;
  }
  .section, section {
    padding: 24px 0;
    margin-bottom: 36px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    font-size: 0.95rem;
    padding: 16px 9px;
  }
}
@media (max-width: 960px) {
  .content-grid, .card-container {
    gap: 15px;
  }
}
@media (max-width: 768px) {
  .content-grid, .card-container {
    flex-direction: column;
    gap: 15px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .section, section {
    padding: 24px 0 12px 0;
    margin-bottom: 32px;
  }
  .content-wrapper {
    padding: 0 2px;
  }
}

/*****************
 * CARD / HIGHLIGHT SECTIONS
 *****************/
.event-highlights, .collection-highlights {
  background: #eef2f8;
  border-radius: 10px;
  padding: 20px 14px;
  margin-top: 24px;
  box-shadow: 0 2px 8px rgba(39,68,114,.06);
}
.event-highlights h3, .collection-highlights h3 {
  color: #274472;
  margin-bottom: 10px;
}
.event-highlights ul, .collection-highlights ul {
  gap: 10px;
}
.event-highlights li, .collection-highlights li {
  color: #2d4566;
  padding-left: 0;
  font-size: 1rem;
}

/*****************
 * MISC
 *****************/
blockquote {
  margin: 0;
  font-style: italic;
  color: #1a243d;
}

/*****************
 * FORMS (In case used)
 *****************/
input, textarea {
  border: 1px solid #274472;
  border-radius: 5px;
  padding: 10px 8px;
  font-size: 1rem;
  margin-bottom: 16px;
}
input:focus, textarea:focus {
  outline: 2px solid #C8AA6E;
  border-color: #C8AA6E;
}

/*****************
 * COOKIE CONSENT BANNER
 *****************/
#cookie-banner {
  position: fixed;
  width: 100vw;
  bottom: 0;
  left: 0;
  background: #fff;
  border-top: 2.5px solid #274472;
  box-shadow: 0 -2px 20px rgba(39,68,114,0.10);
  padding: 24px 12px 18px 12px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity .24s, transform .28s;
}
#cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0%);
}
#cookie-banner p {
  color: #222;
  text-align: center;
  margin-bottom: 4px;
  font-size: 1rem;
}
#cookie-banner .cookie-btn-group {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.cookie-btn {
  min-width: 120px;
}
@media (max-width: 510px) {
  #cookie-banner {
    padding: 14px 3px 8px 3px;
  }
  #cookie-banner .cookie-btn-group {
    gap: 8px;
  }
}

/*****************
 * COOKIE PREFERENCES MODAL
 *****************/
#cookie-modal-backdrop {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(39,68,114,0.86);
  z-index: 3100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s;
}
#cookie-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
#cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  max-width: 420px;
  width: 90vw;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 6px 32px 0 rgba(39,68,114,0.16);
  padding: 28px 22px 20px 22px;
  z-index: 3120;
  transform: translate(-50%,70%) scale(0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity .23s, transform .27s;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
#cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
#cookie-modal h2 {
  font-size: 1.22rem;
  color: #274472;
}
#cookie-modal .category-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 14px;
}
#cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
#cookie-modal .category label {
  font-weight: 500;
  color: #2d4566;
  margin-left: 5px;
}
#cookie-modal .category input[type=checkbox] {
  accent-color: #274472;
  width: 18px;
  height: 18px;
  margin-right: 5px;
}
#cookie-modal .close-modal {
  position: absolute;
  top: 13px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #274472;
  cursor: pointer;
  transition: color .18s;
}
#cookie-modal .close-modal:hover, #cookie-modal .close-modal:focus {
  color: #C8AA6E;
}
#cookie-modal .btn-row {
  display: flex;
  flex-direction: row;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 10px;
}
@media (max-width: 580px) {
  #cookie-modal {
    padding: 12px 6px 15px 6px;
    max-width: 97vw;
  }
}

/*****************
 * ACCESSIBILITY FOCUS STYLES
 *****************/
a:focus, button:focus, .cta.primary:focus, .cookie-btn:focus {
  outline: 2px solid #C8AA6E;
  outline-offset: 1px;
}

/*****************
 * MICRO-INTERACTIONS
 *****************/
.card, .testimonial-card, .event-highlights, .collection-highlights {
  transition: box-shadow .17s, transform .13s;
}
.card:hover, .card:focus,
.testimonial-card:hover, .testimonial-card:focus,
.event-highlights:hover, .collection-highlights:hover {
  box-shadow: 0 6px 28px 0 rgba(39,68,114,0.18);
  transform: translateY(-1px) scale(1.017);
}

/*****************
 * Z-INDEX MANAGEMENT
 *****************/
.mobile-menu, #cookie-banner, #cookie-modal, #cookie-modal-backdrop {
  z-index: 1200;
}

/*****************
 * PRINT STYLES
 *****************/
@media print {
  header, footer, #cookie-banner, #cookie-modal, #cookie-modal-backdrop, .mobile-menu { display: none !important; }
  body, main { background: #fff !important; color: #222 !important; }
}
