/* ========================
   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, 
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F4EFE6;
  color: #26324F;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  appearance: none;
  box-sizing: border-box;
}

/* =========================
   BRAND FONTS & VARIABLES
   ========================= */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;700&family=Roboto:wght@400;500;700&display=swap');
:root {
  --color-primary: #26324F;
  --color-secondary: #A6986D;
  --color-accent: #F4EFE6;
  --color-white: #fff;
  --color-black: #181a20;
  --color-grey: #e5e2da;
  --color-text: #26324F;
  --color-gold: #A6986D;
  --color-error: #B00020;
  --shadow-sm: 0 2px 8px rgba(38,50,79,0.05);
  --shadow-md: 0 4px 24px rgba(38,50,79,0.10);
  --radius: 14px;
  --radius-section: 24px;
  --transition-fast: 0.18s cubic-bezier(.72,0,.68,0.95);
  --transition: 0.3s cubic-bezier(.32,1.45,.37,1);
  --font-display: 'Oswald', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-accent);
}

/* =====================
   LUXURY TYPOGRAPHY
   ===================== */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--color-primary);
  letter-spacing: 0.5px;
  font-weight: 600;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.18;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--color-gold);
  font-weight: 500;
}
h4 {
  font-size: 1.1rem;
}
p, li, ul, ol {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  font-weight: 400;
}
p {
  margin-bottom: 12px;
}
strong, b {
  font-weight: 700;
  color: var(--color-primary);
}

/* ======================
   BASIC LAYOUT CONTAINERS
   ====================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: var(--radius-section);
  box-shadow: var(--shadow-sm);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.text-section {
  max-width: 800px;
}

/* =========
   HERO
   ========= */
.hero {
  margin-bottom: 60px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-section);
  min-height: 320px;
  width: 100%;
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.hero .content-wrapper h1,
.hero .content-wrapper p {
  color: var(--color-white);
}
.hero .cta-button {
  background: var(--color-gold);
  color: var(--color-primary)!important;
  margin-top: 12px;
}

/* ====================
   MAIN NAVIGATION
   ==================== */
header {
  background: var(--color-accent);
  box-shadow: var(--shadow-sm);
  z-index: 10;
  position: relative;
}
.main-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}
.main-navigation img {
  height: 54px;
  padding-right: 12px;
}
.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-navigation li a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 0 6px;
  transition: color var(--transition-fast);
  color: var(--color-primary);
  border-bottom: 2px solid transparent;
}
.main-navigation li a:hover, .main-navigation li a:focus {
  color: var(--color-gold);
  border-bottom: 2px solid var(--color-gold);
}
.cta-button {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  background: var(--color-gold);
  color: var(--color-primary)!important;
  padding: 12px 32px;
  border-radius: 999px;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  border: 2px solid var(--color-gold);
  cursor: pointer;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-primary);
  color: var(--color-gold)!important;
  border: 2px solid var(--color-gold);
  box-shadow: var(--shadow-md);
}

/* ===============
   MOBILE MENU
   =============== */
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: var(--color-gold);
  font-size: 2.2rem;
  border-radius: var(--radius);
  border: none;
  width: 50px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), color var(--transition-fast);
  position: absolute;
  right: 18px;
  top: 14px;
  z-index: 101;
  cursor: pointer;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-gold);
  color: var(--color-primary);
}
.mobile-menu {
  position: fixed;
  z-index: 120;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 36px 24px;
  transition: transform 0.4s cubic-bezier(.48,1.7,0,.86);
  transform: translateX(100%);
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-gold);
  color: var(--color-primary);
  font-size: 2.2rem;
  width: 50px;
  height: 44px;
  border: none;
  border-radius: var(--radius);
  align-self: flex-end;
  margin-bottom: 16px;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--color-white);
  color: var(--color-gold);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-nav a {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.4rem;
  padding: 14px 0;
  border-bottom: 1px solid rgba(244,239,230,0.13);
  transition: color var(--transition-fast);
  text-align: left;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--color-gold);
}

/* HIDE DESKTOP NAV ON MOBILE, SHOW BURGER */
@media (max-width: 900px) {
  .main-navigation ul,
  .main-navigation .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===================
   SECTIONS & CARDS
   =================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 0 0;
}
.feature-grid li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px 22px 20px 22px;
  min-width: 220px;
  width: calc(50% - 12px); /* ensures two columns on desktop */
  margin-bottom: 20px;
  border-left: 4px solid var(--color-gold);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}
.feature-grid li:hover, .feature-grid li:focus-within {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px) scale(1.02);
}
.feature-grid li img {
  width: 36px;
  height: 36px;
}

/* Special alignment for anywhere the .feature-item class appears (as per spacing requirement) */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
  border: 1.5px solid var(--color-grey);
}
.card:hover, .card:focus-within {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px) scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 16px;
  gap: 12px;
}

.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;
  margin-bottom: 24px;
}

/* --------- TESTIMONIAL CARDS ----------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 420px;
  border-left: 4px solid var(--color-gold);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px) scale(1.015);
}
.testimonial-card p {
  color: var(--color-primary);
  font-style: italic;
  font-size: 1.08rem;
  margin-bottom: 10px;
}
.testimonial-card strong {
  color: var(--color-gold);
  font-size: 1rem;
  font-weight: 600;
}

/* ===============================
   CONTACT DETAILS & SOCIAL LINKS
   =============================== */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-details h3 {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 2px;
  font-weight: 500;
}
.contact-details img {
  vertical-align: middle;
  margin-right: 6px;
  width: 24px;
  height: 24px;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 4px;
}
.social-links a {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 500;
  padding: 4px 0;
  font-size: 1rem;
  transition: color var(--transition-fast);
}
.social-links a:hover {
  color: var(--color-gold);
}

.confirmation-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--color-accent);
  padding: 16px 18px;
  border-radius: var(--radius);
  margin-top: 10px;
  border-left: 3px solid var(--color-gold);
  color: var(--color-primary);
  font-size: 1rem;
}


/* ===================
   FOOTER
   =================== */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 50px 0 36px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.footer-navigation {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.footer-navigation a {
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 1rem;
  transition: color var(--transition-fast);
  padding: 4px 0;
}
.footer-navigation a:hover,
.footer-navigation a:focus {
  color: var(--color-accent);
}
.footer-contact {
  font-size: 1rem;
  color: var(--color-accent);
  font-family: var(--font-body);
  max-width: 360px;
}
.footer-contact a {
  color: var(--color-gold);
  word-break: break-all;
  transition: color var(--transition-fast);
}
.footer-contact a:hover {
  color: var(--color-accent);
}


/* ===========================
   COOKIE CONSENT BANNER
   =========================== */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: var(--color-primary);
  color: var(--color-accent);
  z-index: 2000;
  padding: 30px 24px 24px 24px;
  box-shadow: 0 -2px 10px rgba(38,50,79,0.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  font-size: 1rem;
  opacity: 1;
  pointer-events: all;
  transition: opacity var(--transition-fast);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 20px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius);
  padding: 9px 28px;
  margin: 0 2px;
  background: var(--color-gold);
  color: var(--color-primary);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.cookie-banner button.reject {
  background: var(--color-white);
  color: var(--color-primary);
}
.cookie-banner button.settings {
  background: var(--color-primary);
  color: var(--color-gold);
  border: 1.5px solid var(--color-gold);
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: var(--color-accent);
  color: var(--color-gold);
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(38,50,79, 0.62);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  opacity: 1;
  transition: opacity var(--transition-fast);
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal .modal-content {
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: var(--radius-section);
  box-shadow: 0 4px 32px rgba(38,50,79,0.24);
  padding: 40px 22px 30px 22px;
  min-width: 320px;
  max-width: 98vw;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
  background: var(--color-white);
  color: var(--color-primary);
  border: none;
  border-radius: 24px;
  font-size: 1.7rem;
  width: 40px; height: 40px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus {
  background: var(--color-gold);
  color: var(--color-white);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
}
.cookie-category label {
  font-family: var(--font-body);
  color: var(--color-primary);
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--color-gold);
  width: 1.1em;
  height: 1.1em;
}
.cookie-category.essential input {
  pointer-events: none;
}
.cookie-category.essential label {
  color: #999;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}
.cookie-modal button {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: var(--radius);
  padding: 8px 28px;
  background: var(--color-gold);
  color: var(--color-primary);
  margin: 0 2px;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.cookie-modal button.save {
  background: var(--color-primary);
  color: var(--color-gold);
  border: 1.5px solid var(--color-gold);
}
.cookie-modal button.cancel {
  background: var(--color-white);
  color: var(--color-primary);
}
.cookie-modal button:hover,
.cookie-modal button:focus {
  background: var(--color-accent);
  color: var(--color-gold);
  border-color: var(--color-gold);
}

/* ===================
   UTILITY CLASSES
   =================== */
.mt8 { margin-top: 8px; }
.mt16 { margin-top: 16px; }
.mt32 { margin-top: 32px; }
.mb8 { margin-bottom: 8px; }
.mb16 { margin-bottom: 16px; }
.mb24 { margin-bottom: 24px; }
.mb32 { margin-bottom: 32px; }
.pt24 { padding-top: 24px; }
.pb24 { padding-bottom: 24px; }

/* ==================
   MEDIA QUERIES
   ================== */
@media (max-width: 1000px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 900px) {
  .feature-grid li {
    min-width: 160px;
    width: 100%;
  }
  .testimonial-card {
    max-width: 96vw;
  }
  .footer-contact {
    max-width: 96vw;
  }
  footer .container {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .main-navigation {
    flex-direction: row;
    gap: 18px;
    padding-left: 0;
  }
  .section {
    margin-bottom: 40px;
    padding: 28px 7px;
  }
  .content-wrapper,
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 22px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .hero {
    min-height: 210px;
    border-radius: var(--radius);
  }
  h1 { font-size: 2rem; margin-bottom: 16px; }
  h2 { font-size: 1.35rem; margin-bottom: 12px; }
  h3 { font-size: 1.06rem; margin-bottom: 6px; }
  .footer-contact { font-size: 0.98rem; }
}
@media (max-width: 520px) {
  .container { padding: 0 6px; }
  .hero { min-height: 145px; }
  .footer-contact, .footer-navigation { font-size: 0.96rem; }
  .section {
    padding: 14px 2px;
    margin-bottom: 30px;
  }
  .cta-button {
    padding: 10px 20px;
    font-size: 1rem;
  }
}

/* Micro-interactions & Transitions */
[tabindex]:focus,
a:focus,
button:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
  z-index: 2;
}

/* ------- FORMS (for Kontakt, if used anywhere) ------- */
input, textarea, select {
  background: var(--color-white);
  border: 1.2px solid var(--color-grey);
  border-radius: var(--radius);
  padding: 11px 16px;
  font-size: 1rem;
  transition: border-color var(--transition-fast);
  color: var(--color-primary);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-gold);
}

button, .button {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

/* Hide scroll on mobile menu when open */
body.menu-open {
  overflow: hidden;
}

/* =========================
   ENHANCED LUXURY TOUCHES
   ========================= */
/* Gold lines for heading highlights */
h2:after {
  content: '';
  display: block;
  width: 55px;
  height: 3px;
  background: var(--color-gold);
  border-radius: 2px;
  margin-top: 5px;
}

/* Subtle card shadow animation */
.card, .testimonial-card, .feature-grid li {
  will-change: box-shadow, transform;
}

/* -------------
   END OF STYLE
   ------------- */
