/* ==================== CSS RESET & BASE STYLES ==================== */
/* Reset (normalize + improvements) */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  background: #F0F4F8;
  color: #181C24;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #F0F4F8;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #13325B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E3B635;
  outline: none;
}
ul, ol {
  list-style-position: inside;
    margin-left: 0;
}
button, input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1em;
  outline: none;
  border: none;
  background: none;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
h1, h2, h3, h4, h5, h6 {
  color: #13325B;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
  line-height: 1.15;
}
h2 {
  font-size: 1.625rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.subtitle {
  font-size: 1.125rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #53698D;
  margin-bottom: 24px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  font-size: 1rem;
  color: #181C24;
  background: none;
}
.text-section ul,
.text-section ol {
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 1em;
}
.text-section li {
  margin-bottom: 8px;
}
.articles-list,
.faq-section {
  margin-bottom: 32px;
}

/* ==================== MAIN NAVIGATION ==================== */
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(19,50,91,0.08);
  position: relative;
  z-index: 1000;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.main-nav img {
  max-height: 48px;
  margin-right: 32px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 12px;
  font-weight: 500;
  color: #13325B;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F0F4F8;
  color: #E3B635;
}

.primary-cta {
  background: #13325B;
  color: #fff !important;
  padding: 10px 28px;
  border-radius: 24px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: 16px;
  position: relative;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  border: none;
  box-shadow: 0 2px 12px 0 rgba(19,50,91,0.07);
  outline: none;
}
.primary-cta:before {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  border-radius: 24px;
  pointer-events: none;
  border: 2px solid #E3B635;
  opacity: 0;
  transition: opacity 0.2s;
}
.primary-cta:hover, .primary-cta:focus {
  background: #E3B635;
  color: #13325B !important;
  box-shadow: 0 4px 22px 0 rgba(227,182,53,0.19);
}
.primary-cta:hover:before, .primary-cta:focus:before {
  opacity: 1;
}

/* Hide burger btn on desktop */
.mobile-menu-toggle {
  display: none;
  background: #13325B;
  color: #fff;
  font-size: 2rem;
  border-radius: 8px;
  padding: 5px 14px;
  position: absolute;
  top: 18px;
  right: 26px;
  z-index: 1020;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #E3B635;
  color: #13325B;
}

/* ==================== MOBILE NAVIGATION ==================== */
.mobile-menu {
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 340px;
  max-width: 95vw;
  height: 100vh;
  box-shadow: 0 0 32px rgba(19,50,91,0.16);
  transform: translateX(-110%);
  transition: transform 0.38s cubic-bezier(.63,.09,.34,1.37);
  display: flex;
  flex-direction: column;
  z-index: 2000;
  padding: 32px 24px 24px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border-radius: 5px;
  color: #13325B;
  font-size: 2rem;
  cursor: pointer;
  border: none;
  padding: 2px 10px 0 0;
  transition: background 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #F0F4F8;
  color: #E3B635;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 20px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  color: #13325B;
  font-weight: 500;
  padding: 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F0F4F8;
  color: #E3B635;
}

/* Overlay for mobile menu (optional, if needed)
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(19,50,91,0.16);
  z-index: 1500;
}
*/

/* Hide desktop nav on small screens, show burger */
@media (max-width: 1020px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block !important;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ==================== FLEXBOX LAYOUTS ==================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 18px 0 rgba(19,50,91,0.10);
  padding: 32px 24px;
  flex: 1 1 320px;
  transition: box-shadow 0.19s, transform 0.19s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 36px 0 rgba(227,182,53,0.15), 0 2px 18px 0 rgba(19,50,91,0.14);
  transform: translateY(-2px) scale(1.015);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.content-grid,
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.content-grid > *,
.feature-grid > * {
  flex: 1 1 250px;
  min-width: 220px;
  background: #fff;
  border-radius: 12px;
  padding: 24px 18px;
  box-shadow: 0 1px 8px 0 rgba(19,50,91,0.06);
  margin-bottom: 0;
  transition: box-shadow 0.15s, border 0.15s;
  border-left: 4px solid #F0F4F8;
}
.feature-grid > *:hover {
  box-shadow: 0 4px 24px 0 rgba(227,182,53,0.13);
  border-left: 4px solid #E3B635;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  color: #181C24;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(19,50,91,0.11);
  padding: 20px 24px;
  margin-bottom: 20px;
  border-left: 4px solid #E3B635;
  font-size: 1.05rem;
  position: relative;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card.highlight {
  border-left: 4px solid #13325B;
  background: #F0F4F8;
  color: #181C24;
  box-shadow: 0 2px 20px 0 rgba(227,182,53,0.08);
}
.testimonial-meta {
  color: #13325B;
  font-size: 0.98em;
  font-style: italic;
  margin-top: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==================== BUTTONS & MICRO-INTERACTIONS ==================== */
button {
  cursor: pointer;
  border-radius: 8px;
  border: none;
  background: none;
  transition: background 0.16s, color 0.16s;
}
.button, .btn {
  background: #13325B;
  color: #fff;
  padding: 10px 22px;
  border-radius: 20px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.14s;
}
.button:hover, .btn:hover, .button:focus, .btn:focus {
  background: #E3B635;
  color: #13325B;
  box-shadow: 0 2px 14px 0 rgba(227,182,53,0.14);
}

/* ==================== ICONS IN TEXT ==================== */
.text-section img[alt^='Adresse'],
.text-section img[alt^='Telefon'],
.text-section img[alt^='E-Mail'],
.text-section img[alt^='Öffnungszeiten'] {
  width: 1.2em;
  height: 1.2em;
  vertical-align: middle;
  margin-right: 8px;
}

/* ==================== FOOTER ==================== */
footer {
  background: #13325B;
  color: #fff;
  padding: 48px 0 28px 0;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 20px 0 10px 0;
}
.footer-nav a {
  color: #E3B635;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 5px 10px;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #fff;
  color: #13325B;
}
.footer-contact {
  font-size: 1rem;
  color: #fff;
  text-align: center;
  margin-top: 12px;
}
footer img {
  max-height: 56px;
  margin-bottom: 10px;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 880px) {
  .feature-grid, .content-grid {
    flex-direction: column;
    gap: 22px;
  }
  .main-nav {
    gap: 9px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { padding: 0 8px; }
  section { padding: 30px 7px; }
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.22rem; }
  .feature-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .card {
    padding: 20px 12px;
  }
  .testimonial-card {
    padding: 16px 10px;
  }
  .main-nav {
    flex-direction: column;
    gap: 4px;
    padding: 10px 4px;
  }
}
@media (max-width: 520px) {
  .primary-cta, .button, .btn {
    width: 100%;
    min-width: 0;
    margin-left: 0 !important;
  }
  .feature-grid > *, .content-grid > * {
    min-width: 0;
    padding: 14px 6px;
  }
}

/* ==================== COOKIE CONSENT BANNER ==================== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5000;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 -2px 16px 0 rgba(19,50,91,0.06);
  border-top: 3px solid #E3B635;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px 18px 32px;
  font-size: 1rem;
  animation: ccSlideUp 0.45s cubic-bezier(.66,.11,.59,1.19) both;
}
@keyframes ccSlideUp {
  from { opacity: 0; transform: translateY(80px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-consent-banner p {
  color: #13325B;
  flex: 2 1 220px;
  margin-right: 18px;
}
.cookie-consent-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  background: #13325B;
  color: #fff;
  border-radius: 21px;
  padding: 8px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  font-weight: 500;
  margin: 0 3px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.14s;
}
.cookie-btn.settings {
  background: #fff;
  color: #13325B;
  border: 1.5px solid #13325B;
}
.cookie-btn.accept {
  background: #E3B635;
  color: #13325B;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #13325B;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #13325B;
  border: 1.5px solid #E3B635;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #E3B635;
  color: #13325B;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #F0F4F8;
  color: #E3B635;
}
@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    padding: 16px 7px 14px 7px;
    gap: 14px;
    font-size: 0.98rem;
  }
  .cookie-consent-banner p {
    margin-right: 0;
    margin-bottom: 8px;
  }
  .cookie-consent-actions {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    width: 100%;
  }
  .cookie-btn {
    width: 100%;
    min-width: 0;
    padding: 10px 0;
  }
}

/* ==================== COOKIE PREFERENCES MODAL ==================== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 6000;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(19,50,91,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cmodalFadeIn 0.25s cubic-bezier(.61,.01,.49,1.27) both;
}
@keyframes cmodalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 36px 0 rgba(19,50,91,0.23);
  padding: 36px 28px 22px 28px;
  max-width: 360px;
  width: 95vw;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
  animation: cmodalPopIn 0.32s cubic-bezier(.59,.13,.62,1.04) both;
}
@keyframes cmodalPopIn {
  from { transform: scale(0.94) translateY(40px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  color: #13325B;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F0F4F8;
  border-radius: 9px;
  padding: 9px 16px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-weight: 500;
  color: #13325B;
  flex: 1 1 auto;
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  background: #ddd;
  border-radius: 11px;
  position: relative;
  cursor: pointer;
  transition: background 0.17s;
  margin-left: 12px;
  border: 1px solid #E3B635;
}
.cookie-toggle input[type=checkbox] {
  display: none;
}
.cookie-toggle .slider {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s, background 0.13s;
  box-shadow: 0 1px 4px rgba(19,50,91,0.11);
}
.cookie-toggle input[type=checkbox]:checked + .slider {
  left: 20px;
  background: #E3B635;
}
.cookie-modal .cookie-btn {
  align-self: flex-end;
  width: auto;
  margin: 2px 0 0 0;
}
@media (max-width: 430px) {
  .cookie-modal {
    padding: 18px 6px 12px 6px;
  }
}

/* ==================== LUXURY & PREMIUM REFINEMENTS ==================== */
.card, .testimonial-card, .feature-grid > *, .content-grid > * {
  border-radius: 14px;
  box-shadow: 0 2px 18px 0 rgba(19,50,91,0.08);
  border: 1.5px solid #fff;
  background: #fff;
}
.feature-grid > * {
  border-left: 4px solid #E3B635;
  border-right: none; /* Visual refinement */
}
.card, .content-grid > * {
  border-left: 4px solid #13325B;
  border-right: none;
}
.card:hover, .feature-grid > *:hover, .content-grid > *:hover {
  box-shadow: 0 7px 40px 0 rgba(227,182,53,0.13), 0 2px 20px 0 rgba(19,50,91,0.10);
  border-left: 4px solid #E3B635;
}

hr {
  border: none;
  border-top: 1.5px solid #F0F4F8;
  margin: 28px 0;
}

/* Gold accent underline for luxury headings */
h2:not(.subtitle), h3:not(.subtitle) {
  position: relative;
  padding-bottom: 7px;
}
h2:not(.subtitle):after, h3:not(.subtitle):after {
  content: '';
  display: block;
  height: 3px;
  width: 36px;
  background: #E3B635;
  border-radius: 2px;
  margin-top: 8px;
}

/* ============ TYPOGRAPHY SCALE LUXURY ============ */
@media (min-width: 1200px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }
  .subtitle { font-size: 1.24rem; }
}

/* ======== ANIMATIONS ======== */
.primary-cta, .button, .btn, .main-nav a, .mobile-nav a, .feature-grid > *, .card {
  transition: color 0.2s, background 0.22s, box-shadow 0.21s, border 0.14s, transform 0.15s;
}

/* ======== UTILITIES ======== */
.gap-20 { gap: 20px !important; }
.gap-24 { gap: 24px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-32 { margin-top: 32px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-32 { margin-bottom: 32px !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.text-gold { color: #E3B635 !important; }
.bg-gold { background: #E3B635 !important; color: #13325B !important; }
.bg-blue { background: #13325B !important; color: #fff !important; }

/* ========== SELECTION ========== */
::selection {
  background: #E3B635;
  color: #13325B;
}

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