/* -------------------------------------------------
   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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  background: #F5F3EE;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #222;
  line-height: 1.6;
  background: #F5F3EE;
  min-height: 100vh;
}
a {
  color: #1A2233;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #B86825;
  outline-offset: 2px;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

/* -------------------------------------------------
   BRAND VARIABLES
------------------------------------------------- */
:root {
  --color-primary: #1A2233;
  --color-secondary: #B86825;
  --color-accent: #F5F3EE;
  --color-light: #fff;
  --color-gold: #B86825;
  --color-grey: #e5e3df;
  --color-dark: #1A2233;
  --color-shadow: rgba(26,34,51,0.11);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* -------------------------------------------------
   TYPOGRAPHY
------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
}
h3 {
  font-size: 1.375rem;
  line-height: 1.2;
}
h4 {
  font-size: 1.15rem;
  line-height: 1.25;
}
p, li, ul, ol, span, label {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
}
strong {
  font-weight: 700;
  color: var(--color-secondary);
}
.text-section h2,
.text-section h3 {
  margin-top: 24px;
}
.text-section ul,
.text-section ol {
  margin: 16px 0 16px 24px;
}
.text-section li {
  margin-bottom: 8px;
}

/* -------------------------------------------------
   CONTAINER & LAYOUT
------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  background: var(--color-light);
  border-radius: 14px;
  box-shadow: 0 6px 24px var(--color-shadow);
  padding: 40px 32px;
  margin: 0 auto 32px auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-light);
  border-radius: 10px;
  box-shadow: 0 4px 20px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
  min-width: 270px;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(26,34,51,0.18);
  transform: translateY(-3px) scale(1.03);
}
.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;
  padding: 24px;
  background: var(--color-accent);
  border-radius: 12px;
  box-shadow: 0 2px 12px var(--color-shadow);
  margin-bottom: 24px;
  border-left: 6px solid var(--color-secondary);
  transition: box-shadow 0.16s;
}
.testimonial-card p {
  color: var(--color-dark);
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 12px;
}
.testimonial-card span {
  color: var(--color-primary);
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Utility classes for additional layout (where needed) */
.mt-16 { margin-top: 16px; }
.mb-20 { margin-bottom: 20px; }

/* -------------------------------------------------
   HEADER & NAVIGATION
------------------------------------------------- */
header {
  width: 100%;
  background: var(--color-accent);
  box-shadow: 0 3px 16px var(--color-shadow);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.logo img {
  height: 45px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
  padding: 8px 2px;
  position: relative;
  transition: color 0.2s;
}
.main-nav a.active,
.main-nav a:hover {
  color: var(--color-secondary);
}
.btn-primary {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  background: var(--color-dark);
  color: var(--color-light);
  border-radius: 8px;
  padding: 13px 38px;
  font-weight: 600;
  border: none;
  box-shadow: 0 2px 14px var(--color-shadow);
  cursor: pointer;
  position: relative;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s,
    transform 0.18s;
  outline: none;
}
.btn-primary:after {
  content: '';
  display: block;
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 9px;
  height: 3px;
  background: var(--color-gold);
  border-radius: 2px;
  opacity: 0.20;
  pointer-events: none;
}
.btn-primary:hover {
  background: var(--color-secondary);
  color: var(--color-light);
  box-shadow: 0 8px 32px rgba(184,104,37,0.19);
  transform: translateY(-2px) scale(1.03);
}
.btn-primary:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Burger menu (mobile) */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 26px;
  right: 28px;
  z-index: 1200;
  width: 48px;
  height: 48px;
  font-size: 2.15rem;
  color: var(--color-gold);
  background: var(--color-light);
  border-radius: 50%;
  border: 1.5px solid var(--color-gold);
  box-shadow: 0 2px 8px rgba(26,34,51,0.11);
  transition: background 0.15s, color 0.15s, box-shadow 0.16s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:hover {
  background: var(--color-gold);
  color: var(--color-light);
  box-shadow: 0 3px 18px rgba(184,104,37,0.17);
}

/* -------------------------------------------------
   MOBILE MENU
------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  z-index: 1150;
  background: rgba(26,34,51,0.84);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.35,1.15,.46,.87);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 22px 28px 0 0;
  align-self: flex-end;
  background: var(--color-gold);
  color: var(--color-light);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2rem;
  border: none;
  box-shadow: 0 1px 8px rgba(184,104,37,0.19);
  transition: background 0.16s, color 0.16s;
  z-index: 2100;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-light);
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  margin-top: 60px;
  margin-right: 38px;
}
.mobile-nav a {
  color: var(--color-light);
  font-size: 1.25rem;
  font-family: var(--font-display);
  padding: 18px 0 8px 6px;
  width: 220px;
  border-bottom: 1px solid rgba(245,243,238,0.13);
  transition: color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--color-gold);
  outline: none;
}

/* -------------------------------------------------
   HERO SECTION
------------------------------------------------- */
.hero {
  background: linear-gradient(114deg, #F5F3EE 0%, #f8eddc 100%);
  padding: 0;
}
.hero .container {
  flex-direction: row;
  align-items: center;
  gap: 0;
}
.hero .content-wrapper {
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 64px 0 48px 0;
  text-align: left;
  max-width: 680px;
}
.hero h1 {
  font-size: 2.8rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.15rem;
  margin-bottom: 38px;
  color: var(--color-dark);
}
.hero .btn-primary {
  font-size: 1.08rem;
  padding: 14px 44px;
}

/* -------------------------------------------------
   FEATURES GRID (Index)
------------------------------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 32px 0 0 0;
}
.feature {
  background: var(--color-accent);
  border-radius: 10px;
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 24px 18px 18px 18px;
  min-width: 210px;
  max-width: 280px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  position: relative;
  border-left: 4px solid var(--color-secondary);
  transition: box-shadow 0.17s, border-color 0.17s;
}
.feature:hover {
  box-shadow: 0 6px 28px rgba(184,104,37,0.11);
  border-left: 4px solid #edd1a7;
}
.feature img {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  filter: drop-shadow(0 1.5px 6px rgba(184,104,37,.09));
}
.feature h3 {
  font-size: 1.19rem;
  color: var(--color-primary);
  margin-bottom: 9px;
}

/* -------------------------------------------------
   CTA SECTION
------------------------------------------------- */
.cta-section {
  text-align: center;
  padding: 45px 18px;
  background: var(--color-light);
  border-radius: 16px;
  box-shadow: 0 6px 24px var(--color-shadow);
  margin: 0 auto 24px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.cta-section h2,
.cta-section h1 {
  margin-bottom: 14px;
  color: var(--color-primary);
}
.cta-section .btn-primary {
  font-size: 1.08rem;
  padding: 14px 40px;
}

/* -------------------------------------------------
   FOOTER
------------------------------------------------- */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  width: 100%;
  margin-top: 60px;
  padding: 0;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 30px 20px 34px 20px;
}
.logo-footer img {
  width: 55px;
  height: auto;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-nav a {
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: color 0.15s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--color-gold);
}
.footer-contact p {
  color: var(--color-accent);
  font-size: 0.98rem;
  margin: 0;
  line-height: 1.7;
}
.footer-contact a {
  color: var(--color-secondary);
  font-weight: 500;
  transition: color 0.15s;
}
.footer-contact a:hover {
  color: var(--color-light);
}

/* -------------------------------------------------
   MAP (on Kontakt page)
------------------------------------------------- */
.map {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.map img {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 8px rgba(184,104,37,0.11));
}

/* -------------------------------------------------
   MEDIA QUERIES (RESPONSIVE)
------------------------------------------------- */
@media (max-width: 1240px) {
  .container {
    max-width: 100%;
  }
}
@media (max-width: 1020px) {
  .hero .container { flex-direction: column; }
  .footer-contact { max-width: 100%; }
  .card, .feature {
    min-width: 46vw;
    max-width: 95vw;
  }
}
@media (max-width: 900px) {
  footer .container, header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-nav {
    flex-direction: row;
    gap: 17px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.32rem; }
  .content-wrapper, .cta-section {
    padding: 32px 12px;
  }
  .container {
    padding: 0 10px;
  }
  .hero .content-wrapper {
    padding: 38px 6px 24px 6px;
  }
  .feature-grid {
    gap: 20px;
    flex-direction: column;
    align-items: stretch;
  }
  .feature, .card, .card-content {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
  }
  .cta-section {
    padding: 28px 0;
  }
  .map img { width: 22px; height: 22px; }
  .section { padding: 24px 0; margin-bottom: 34px; }
  .card-container,
  .content-grid {
    gap: 14px;
  }
  /* Mobile only: Stack image/text sections */
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    text-align: left;
  }
  .testimonial-card {
    padding: 17px;
  }
  /* Hide desktop nav, show burger */
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .btn-primary {
    padding: 12px 22px;
    font-size: 1rem;
  }
}
@media (max-width: 500px) {
  .content-wrapper, .cta-section {
    padding-left: 4px;
    padding-right: 4px;
    border-radius: 10px;
  }
  .logo img { height: 36px; }
}

/* -------------------------------------------------
   INTERACTIONS & ANIMATIONS
------------------------------------------------- */
.card, .feature, .btn-primary, .mobile-menu, .mobile-menu-toggle, .mobile-menu-close {
  transition: box-shadow 0.17s, transform 0.16s, color 0.17s, background 0.17s, border-color 0.16s;
}
.mobile-menu {
  will-change: transform;
}
.mobile-menu.open {
  animation: mobile-menu-slide-in 0.33s cubic-bezier(.35,1.15,.46,.87);
}
@keyframes mobile-menu-slide-in {
  from { transform: translateX(100%); opacity: 0.68; }
  to { transform: translateX(0); opacity: 1; }
}

/* -------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
------------------------------------------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 4000;
  background: var(--color-dark);
  color: var(--color-light);
  box-shadow: 0 -4px 30px var(--color-shadow);
  padding: 22px 12px 14px 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.97rem;
  animation: cookie-slide-up 0.73s cubic-bezier(.45,1.24,.51,.95);
}
@keyframes cookie-slide-up {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  margin: 0 0 12px 0;
  color: var(--color-light);
  max-width: 420px;
}
.cookie-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: var(--font-display);
  border-radius: 7px;
  border: none;
  background: var(--color-gold);
  color: var(--color-light);
  font-weight: 600;
  font-size: 1.08rem;
  padding: 9px 23px;
  margin-bottom: 7px;
  box-shadow: 0 2px 8px rgba(184,104,37,0.17);
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
.cookie-btn.reject {
  background: #6B727F;
}
.cookie-btn.settings {
  background: transparent;
  color: var(--color-gold);
  border: 1.5px solid var(--color-gold);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-secondary);
  color: var(--color-light);
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 4100;
  background: rgba(26,34,51,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  animation: cookie-fadein 0.33s linear;
}
@keyframes cookie-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--color-light);
  border-radius: 14px;
  box-shadow: 0 7px 44px rgba(26,34,51,0.23);
  padding: 46px 33px 28px 33px;
  min-width: 320px;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  animation: cookie-modal-in 0.41s cubic-bezier(.45,1.24,.51,.95);
}
@keyframes cookie-modal-in {
  from { transform: translateY(70px) scale(0.97); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--color-primary);
  margin-bottom: 8px;
  font-size: 1.18rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin: 10px 0 18px 0;
  width: 100%;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.cookie-category label {
  font-size: 1rem;
  color: var(--color-dark);
}
.cookie-toggle {
  width: 40px;
  height: 24px;
  border-radius: 15px;
  background: var(--color-grey);
  position: relative;
  transition: background 0.18s;
  display: inline-block;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle .slider {
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--color-secondary);
  transition: left 0.18s, background 0.17s;
}
.cookie-toggle input:checked + .slider {
  left: 19px;
  background: var(--color-gold);
}
.cookie-category.essential .cookie-toggle {
  background: #d7af7e;
}
.cookie-category.essential label {
  font-weight: 600;
  color: var(--color-gold);
}
.cookie-actions {
  display: flex;
  gap: 15px;
  margin-left: 0;
  margin-top: 8px;
}
.cookie-modal .cookie-btn {
  margin-bottom: 0;
}
@media (max-width: 600px) {
  .cookie-modal { padding: 23px 8px; min-width: 0; }
  .cookie-consent-banner { padding: 12px 2px; gap: 14px; }
  .cookie-consent-banner p { font-size: 0.95rem; }
}

/* -------------------------------------------------
   LUXURY PREMIUM ACCENTS
------------------------------------------------- */
hr,
hr.section-divider {
  border: 0;
  border-top: 1.8px solid var(--color-secondary);
  margin: 30px 0;
  opacity: 0.22;
}
/* Gold underline for some headings (utility) */
.gold-underline {
  border-bottom: 2px solid var(--color-gold);
  display: inline-block;
  padding-bottom: 2px;
}
/* Slight gold accent shadow for hero and CTA */
.hero, .cta-section {
  box-shadow: 0 2px 16px rgba(184,104,37,0.05);
}

/* Premium accent lines on cards (example) */
.card:before {
  content: '';
  display: block;
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--color-gold);
  border-radius: 6px 6px 0 0;
  opacity: 0.12;
  pointer-events: none;
}

/* Minor gold dots between footer nav (optional luxury detail) */
.footer-nav a:not(:last-child):after {
  content: '\2022';
  color: var(--color-gold);
  padding-left: 7px;
  padding-right: 7px;
  opacity: 0.6;
}

/* -------------------------------------------------
   ACCESSIBILITY HIGHLIGHTS & FOCUS
------------------------------------------------- */
a:focus, .btn-primary:focus, .cookie-btn:focus,
.main-nav a:focus, .footer-nav a:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
  background: #fbeee3;
}

/* Hide visually but keep accessible (e.g., skip link pts) */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* -------------------------------------------------
   MISC/UTILITY
------------------------------------------------- */
.contact-details {
  margin-bottom: 18px;
}
.text-section {
  background: var(--color-accent);
  border-radius: 10px;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 32px 18px;
  margin-bottom: 20px;
}

/****** OVERRIDES & FINAL TUNING ******/
/* Prevent accidental elem overlap, always add min-gaps */
section:not(:last-child),
.content-wrapper:not(:last-child),
.card:not(:last-child),
.feature:not(:last-child),
.testimonial-card:not(:last-child) {
  margin-bottom: 20px;
}

/* Increase clickable/tap area for mobile nav */
@media (max-width: 600px) {
  .mobile-nav a {
    padding: 24px 8px 12px 12px;
    min-width: 185px;
    font-size: 1.11rem;
  }
}

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