/* ======================================================================
   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,main,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 { box-sizing: border-box; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F8F9FC;
  color: #222;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1 0 auto; }
img, svg {
  max-width: 100%;
  display: inline-block;
  vertical-align: middle;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
strong { font-weight: 600; }
ul, ol { padding-left: 24px; margin-bottom: 16px; }
li { margin-bottom: 12px; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #1F2A44;
  margin-bottom: 20px;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; letter-spacing: -1px; margin-bottom: 28px; }
h2 { font-size: 2rem; margin-bottom: 24px; }
h3 { font-size: 1.35rem; margin-bottom: 18px; }
p { color: #333; margin-bottom: 18px; font-size: 1rem; }

/* ========== Luxury Premium Brand Variables ========== */
:root {
  --primary: #1F2A44;
  --secondary: #EDEDED;
  --accent: #D4AF37;
  --accent-fallback: #C7A144;
  --light: #FCFCFC;
  --background: #F8F9FC;
  --premium-gold: #D4AF37;
  --gold-dark: #B79523;
  --text-dark: #232323;
  --text-body: #31343b;
  --card-bg: #fff;
  --card-shadow: 0 3px 22px 0 rgba(36,36,44,0.07), 0 1.5px 5px 0 rgba(212,175,55,0.06);
  --radius: 18px;
  --border: 1px solid #e1e1e1;
}

@media (max-width: 768px) {
  :root { font-size: 15px; }
}
@media (max-width: 480px) {
  :root { font-size: 14px; }
}

/* =====================================================================
   GENERAL CLASSES & CONTAINER STYLES
===================================================================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  background: var(--light);
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius);
  box-shadow: 0 1px 12px 0 rgba(31,42,68,0.04);
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 32px 24px 28px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 270px;
  border: var(--border);
  transition: box-shadow 0.25s, transform 0.18s;
  z-index: 1;
}
.card:hover, .feature-card:hover, .testimonial-card:hover {
  box-shadow: 0 10px 32px 0 rgba(31,42,68,0.10), 0 4px 12px 0 rgba(212,175,55,0.08);
  transform: translateY(-3px) scale(1.025);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  color: var(--text-body);
  padding: 28px 32px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  border: 1px solid #ececec;
  box-shadow: 0 2px 16px 0 rgba(31,42,68,0.07), 0 2px 8px 0 rgba(212,175,55,0.08);
  transition: box-shadow 0.22s, transform 0.15s;
}
.testimonial-card p {
  font-style: italic;
  font-size: 1.08rem;
  font-weight: 500;
  color: #1F2A44;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: 0.99rem;
  color: #474747;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Feature Grid for index and details pages */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-card {
  flex: 1 1 270px;
  min-width: 260px;
  max-width: 340px;
  padding: 28px 22px 22px 22px;
  background: #fff;
  border: 1px solid #ECE7DD;
  border-radius: var(--radius);
  transition: box-shadow 0.2s, transform 0.18s;
  margin-bottom: 20px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  position: relative;
}
.feature-card img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 8px rgba(212,175,55,0.06));
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: 8px; color: #1F2A44; }
.feature-card p { font-size: 0.97rem; color: #31343b; }

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #232323;
}
.text-section ul, .text-section ol {
  margin-bottom: 10px;
  padding-left: 26px;
  color: #232323;
}
.text-section li {
  list-style: disc;
  margin-bottom: 8px;
  font-size: 1rem;
}

/* ====================================================================
   HEADER & NAVIGATION (Desktop & Mobile)
==================================================================== */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee9da;
  box-shadow: 0 2px 12px 0 rgba(31,42,68,0.03);
  position: sticky;
  top: 0;
  z-index: 60;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 74px;
}
.header-row img {
  height: 48px;
  width: auto;
  margin-right: 14px;
}
.main-nav {
  display: flex;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #1F2A44;
  opacity: 0.88;
  letter-spacing: 0.01em;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--premium-gold);
  border-bottom: 2px solid var(--premium-gold);
}

/* ============== CTA Button ================ */
.btn-primary, .btn-primary:visited {
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(90deg, var(--premium-gold), var(--gold-dark));
  color: #222;
  font-size: 1.07rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 26px;
  border-radius: 26px;
  border: none;
  box-shadow: 0 2px 18px 0 rgba(212,175,55,0.09);
  cursor: pointer;
  margin-left: 22px;
  transition: color 0.13s, background 0.19s, box-shadow 0.18s, transform 0.10s;
  display: inline-block;
  outline: none;
  position: relative;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--gold-dark);
  color: #fff;
  box-shadow: 0 5px 28px 0 rgba(212,175,55,0.18);
  transform: translateY(-1.5px) scale(1.045);
}
.link-arrow {
  color: var(--premium-gold);
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  text-decoration: underline;
  display: inline-block;
  transition: color 0.14s, text-decoration 0.15s;
}
.link-arrow:hover {
  color: var(--primary);
  text-decoration: none;
}

/* ========== MOBILE MENU ========= */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #1F2A44;
  padding: 10px;
  cursor: pointer;
  z-index: 120;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(31,42,68,0.97);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 28px 24px 28px;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(0.38,0,0.36,1);
  z-index: 200;
  width: 100vw;
  max-width: 100vw;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  margin-bottom: 30px;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover {
  color: var(--premium-gold);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 10px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 14px 0;
  border-radius: 12px;
  display: block;
  background: none;
  transition: color 0.13s, background 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--premium-gold);
  background: rgba(244,223,118,0.12);
}

@media (max-width: 1100px) {
  .main-nav { gap: 16px; }
  .btn-primary { margin-left: 8px; }
  .header-row { gap: 16px; }
}
@media (max-width: 950px) {
  .main-nav {
    display: none;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 520px){
  .header-row img {
    height: 36px;
  }
}
/* ========== END HEADER ========= */

/* =====================================================================
   FOOTER
===================================================================== */
footer {
  width: 100%;
  background: var(--primary);
  color: #fff;
  letter-spacing: 0.01em;
  padding: 0;
  border-top: 2px solid #D4AF37;
  margin-top: 60px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding: 32px 0 26px 0;
}
.footer-row img {
  height: 44px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #fff;
  font-size: 1.02rem;
  font-weight: 400;
  opacity: 0.85;
  transition: color 0.16s, opacity 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--premium-gold);
  opacity: 1;
}
.footer-contact p {
  font-size: 1rem;
  color: #eee5cc;
  line-height: 1.7;
}
@media (max-width: 900px) {
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

/* =====================================================================
   LUXURY & PREMIUM VISUAL DETAILS
===================================================================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--light);
  border-radius: var(--radius);
  box-shadow: 0 1px 12px 0 rgba(31,42,68,0.03);
}
@media (max-width: 768px) {
  section {
    padding: 26px 8px;
    margin-bottom: 38px;
  }
  .footer-row {
    padding: 24px 0 14px 0;
  }
}

/* Gold accent lines */
h2, h3 {
  position: relative;
}
h2::after, h3::after {
  content: '';
  display: block;
  width: 54px;
  height: 3px;
  background: linear-gradient(85deg, var(--premium-gold), var(--gold-dark));
  border-radius: 2px;
  margin-top: 13px;
}
h3::after { width: 36px; margin-top: 9px; }

/* ============= Micro-interactions ============= */
a, .btn-primary, .main-nav a, .mobile-nav a {
  transition: color 0.18s, background 0.13s, box-shadow 0.18s, transform 0.10s;
}

/* ================== Responsive Classes =================== */
@media (max-width: 820px){
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .text-section {
    gap: 16px;
  }
  .feature-card, .card, .testimonial-card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 20px 12px;
  }
  .feature-card img { width: 38px; height: 38px; }
  .footer-row img { height: 36px; }
}
@media (max-width: 520px){
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.32rem; }
  .testimonial-card, .feature-card, .section, .card {
    padding: 16px 5px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .testimonial-card {
    padding: 18px 7px;
  }
}

/* =====================================================================
   FORM ELEMENTS (if needed for expansions in Kontakt, etc.)
===================================================================== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="submit"],
textarea, select {
  font-family: inherit;
  border: 1px solid #d1c089;
  padding: 10px 14px;
  border-radius: 7px;
  font-size: 1rem;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border: 1.5px solid var(--premium-gold);
  box-shadow: 0 0 0 1.5px var(--premium-gold);
}
input[type="submit"] {
  background: linear-gradient(92deg, var(--premium-gold), var(--gold-dark));
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  margin-top: 16px;
}
input[type="submit"]:hover {
  background: var(--gold-dark);
}

/* =====================================================================
   ICONS (for cards and info lists)
===================================================================== */
.text-section img, ul li img, .feature-card img {
  display: inline-block;
  vertical-align: middle;
  height: 28px;
  width: 28px;
  margin-right: 9px;
  margin-top: -2px;
}

/* =====================================================================
   COOKIE CONSENT BANNER
===================================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.99);
  box-shadow: 0 -3px 22px 0 rgba(36,36,44,0.10);
  border-top: 2px solid var(--premium-gold);
  z-index: 1010;
  width: 100vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  gap: 18px;
  transition: transform 0.3s cubic-bezier(0.38,0,0.36,1), opacity 0.2s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-banner p {
  color: var(--primary);
  font-size: 1rem;
  flex: 2 1 60%;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 22px;
  padding: 9px 21px;
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  border: 2px solid var(--premium-gold);
  cursor: pointer;
  transition: background 0.18s, color 0.17s, box-shadow 0.16s;
}
.cookie-btn.accept-all {
  background: linear-gradient(90deg, var(--premium-gold), var(--gold-dark));
  color: #222;
  border: none;
}
.cookie-btn.accept-all:hover, .cookie-btn.accept-all:focus {
  background: var(--gold-dark);
  color: #fff;
}
.cookie-btn.reject-all {
  border-color: #B20121;
  color: #B20121;
}
.cookie-btn.reject-all:hover { background: #F4C8CF; }
.cookie-btn.settings {
  border-color: var(--premium-gold);
  background: #fff;
  color: #1F2A44;
}
.cookie-btn.settings:hover {
  background: #f9f9f4;
}
@media (max-width: 700px){
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    padding: 16px 8px;
  }
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2010;
  background: rgba(18,19,24,0.61);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.22s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  max-width: 420px;
  width: 97vw;
  padding: 30px 28px 26px 28px;
  box-shadow: 0 5px 40px 0 rgba(212,175,55,0.14);
  border: 2px solid var(--premium-gold);
  position: relative;
  display: flex;
  flex-direction: column;
}
.cookie-modal-content h2 { font-size: 1.35rem; color: #1F2A44; margin-bottom: 12px; }
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 8px;
}
.cookie-modal-content input[type='checkbox'] {
  width: 18px; height: 18px;
  accent-color: var(--premium-gold);
  outline: 1px solid #E1C674;
}
.cookie-modal-close {
  position: absolute;
  right: 16px; top: 14px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #1F2A44;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-close:hover {
  color: var(--premium-gold);
}
.cookie-modal-footer {
  margin-top: 20px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-toggle-desc {
  color: #59564e;
  font-size: 0.92rem;
  font-weight: 400;
  margin-left: 26px;
  margin-bottom: 4px;
}

/* Essential cookies label always checked and disabled */
.cookie-modal-content input[type='checkbox'][disabled] {
  cursor: not-allowed;
  opacity: 0.78;
}

/* =====================================================================
   MEDIA QUERIES FOR RESPONSIVENESS
===================================================================== */
@media (max-width: 700px) {
  .container {
    padding-left: 8px; padding-right: 8px;
  }
  h1, h2 {
    font-size: 1.45rem;
    margin-bottom: 16px;
  }
  .content-wrapper, .card-container, .feature-grid {
    gap: 12px;
  }
}
@media (max-width: 540px) {
  .cookie-modal-content {
    padding: 18px 6px 14px 10px;
  }
}

/* =====================================================================
   MISC. UTILITY & OVERRIDES
===================================================================== */
.btn-primary:active,
.btn-primary:focus {
  outline: 2px solid var(--premium-gold);
  outline-offset: 2px;
}
.mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid var(--premium-gold);
  outline-offset: 2px;
}

::-webkit-scrollbar { width: 9px; background: #eee; }
::-webkit-scrollbar-thumb { background: #D4AF37; border-radius: 6px; }

/* Strong visual separation for privacy/legal pages */
.content-wrapper.text-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 36px 0 rgba(31,42,68,0.08);
  padding: 26px 19px;
  margin-top: 12px;
}
@media (max-width: 768px){
  .content-wrapper.text-section {
    padding: 12px 2px;
    box-shadow: none;
  }
}

/* =====================================================================
   LUXURY BRAND MICRO-ELEMENTS
===================================================================== */
/* Focus ring for accessibility on gold accent */
a:focus, button:focus { outline: 2px dashed var(--premium-gold); outline-offset: 2px; }

/* Additional card styling for testimonals on light bg */
.testimonial-card {
  border-left: 6px solid var(--premium-gold);
  background: #FCFCFC;
}

/* For accessibility, always dark text on testimonials */
.testimonial-card p,
.testimonial-card span {
  color: #1F2A44;
}

/* Decorative divider for premium look */
.divider-gold {
  width: 90px;
  height: 3.5px;
  display: block;
  background: linear-gradient(90deg, var(--premium-gold), var(--gold-dark));
  border-radius: 2px;
  margin: 18px auto;
}

/* Prevent images from overflowing their cards */
.feature-card img,
.card img {
  max-width: 60px;
  max-height: 60px;
}

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