/* --------------------------------------------------
   Luminous Wealth Beratung - Vintage Retro CSS Theme
   --------------------------------------------------
   Brand: Modern, trustworthy, professional
   Style: Vintage Retro (nostalgic, classic, retro colors, vintage fonts)
   Layout: Flexbox only (no grid/columns)
   Responsive: Mobile-first
   -------------------------------------------------- */

/* 1. FONT IMPORTS (Vintage Retro) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@400;500&family=DM+Serif+Display:wght@400&family=Roboto+Slab:wght@400;700&display=swap');

:root {
  /* Brand Colors */
  --primary: #1D3557;
  --secondary: #F1FAEE;
  --accent: #B22234;
  /* Vintage Retro Palette */
  --retro-yellow: #F6E27A;
  --retro-orange: #F7B267;
  --retro-brown: #7C4D2D;
  --retro-green: #A3B18A;
  --retro-blue: #457B9D;
  --retro-cream: #FFF8E1;
  --retro-dark: #2D1E2F;
  --retro-shadow: rgba(44, 38, 33, 0.12);
  /* Typography */
  --font-display: 'DM Serif Display', 'Montserrat', serif;
  --font-body: 'Roboto Slab', 'Roboto', serif;
  --font-sans: 'Montserrat', 'Roboto', Arial, sans-serif;
  /* Spacing */
  --section-mb: 60px;
  --section-py: 40px;
  --section-px: 20px;
  --card-gap: 24px;
  --card-mb: 20px;
  --flex-gap: 20px;
  --testimonial-gap: 20px;
  --feature-gap: 15px;
  /* Effects */
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
  --radius: 12px;
  --shadow: 0 4px 24px var(--retro-shadow);
}

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: var(--font-body);
  background: var(--retro-cream);
  color: var(--retro-dark);
  margin: 0;
  min-height: 100vh;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  background-image: repeating-linear-gradient(135deg, #FFF8E1 0 40px, #F6E27A 40px 80px);
}

/* ----------------------
   TYPOGRAPHY
----------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 0.6em;
  letter-spacing: 0.01em;
  font-weight: 400;
  text-shadow: 1px 2px 0 #FFF8E1, 0 2px 8px #e6d8b6;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 0.5em;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4em;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, ul, ol {
  font-family: var(--font-body);
  color: var(--retro-dark);
  font-size: 1.05rem;
  margin-bottom: 1.1em;
}
ul, ol {
  padding-left: 1.5em;
}
strong {
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-sans);
}
a {
  color: var(--accent);
  text-decoration: underline dotted;
  transition: color var(--transition);
}
a:hover, a:focus {
  color: var(--retro-brown);
  text-decoration: underline wavy;
}

/* ----------------------
   LAYOUT CONTAINERS
----------------------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--section-px);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--flex-gap);
  align-items: flex-start;
}

.section {
  margin-bottom: var(--section-mb);
  padding: var(--section-py) var(--section-px);
  background: rgba(255, 248, 225, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}

/* Feature grid (cards, team, blog, etc) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--card-gap);
  margin-bottom: var(--card-mb);
}
.feature-grid > div {
  background: var(--retro-yellow);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px var(--retro-shadow);
  padding: 24px 20px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 100%;
  margin-bottom: 0;
  border: 2px solid var(--retro-brown);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.feature-grid > div:hover {
  transform: translateY(-6px) scale(1.03) rotate(-1deg);
  box-shadow: 0 8px 32px var(--retro-shadow);
  background: var(--retro-orange);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--card-gap);
}
.card {
  margin-bottom: var(--card-mb);
  position: relative;
  background: var(--retro-yellow);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  min-width: 220px;
  flex: 1 1 260px;
  border: 2px solid var(--retro-brown);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--flex-gap);
  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: var(--testimonial-gap);
  padding: 20px;
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px var(--retro-shadow);
  margin-bottom: 20px;
  border-left: 8px solid var(--accent);
  font-family: var(--font-body);
  color: var(--retro-dark);
  transition: box-shadow var(--transition), background var(--transition);
}
.testimonial-card:hover {
  background: var(--retro-yellow);
  box-shadow: 0 8px 32px var(--retro-shadow);
}
.testimonial-card p {
  font-size: 1.1rem;
  font-style: italic;
  margin: 0 0 0.5em 0;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: var(--retro-brown);
  font-family: var(--font-sans);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--feature-gap);
}

/* ----------------------
   HEADER & NAVIGATION
----------------------- */
header {
  width: 100%;
  background: linear-gradient(90deg, var(--retro-yellow) 0%, var(--retro-orange) 100%);
  box-shadow: 0 2px 12px var(--retro-shadow);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--section-px);
}
header a img {
  height: 48px;
  margin-right: 18px;
}
header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  font-size: 1.05rem;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

.cta-button {
  font-family: var(--font-sans);
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 12px 32px;
  font-size: 1.1rem;
  margin-left: 18px;
  box-shadow: 0 2px 12px var(--retro-shadow);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: var(--primary);
  color: var(--retro-yellow);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 32px var(--retro-shadow);
}

/* ----------------------
   HERO SECTION
----------------------- */
.hero {
  background: repeating-linear-gradient(135deg, var(--retro-yellow) 0 40px, var(--retro-orange) 40px 80px);
  border-bottom: 6px solid var(--retro-brown);
  padding: 60px 0 40px 0;
  margin-bottom: var(--section-mb);
  box-shadow: 0 8px 32px var(--retro-shadow);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.hero h1 {
  font-size: 2.6rem;
  color: var(--accent);
  text-shadow: 2px 2px 0 #fff8e1, 0 4px 16px #e6d8b6;
}
.hero p {
  font-size: 1.2rem;
  color: var(--primary);
  font-family: var(--font-body);
}

/* ----------------------
   FOOTER
----------------------- */
footer {
  background: linear-gradient(90deg, var(--retro-brown) 0%, var(--primary) 100%);
  color: #fff;
  padding: 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px var(--section-px);
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
}
footer a img {
  height: 40px;
  margin-bottom: 8px;
}
footer nav {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}
footer nav a {
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 600;
  text-decoration: underline dotted;
  font-size: 1rem;
  transition: color var(--transition);
}
footer nav a:hover, footer nav a:focus {
  color: var(--retro-yellow);
  text-decoration: underline wavy;
}
footer p {
  color: #fff;
  font-size: 0.98rem;
  margin: 0;
  text-align: center;
}

/* ----------------------
   MOBILE NAVIGATION
----------------------- */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 18px;
  transition: background var(--transition), transform var(--transition);
  z-index: 120;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--primary);
  outline: 2px solid var(--retro-yellow);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, var(--retro-yellow) 60%, var(--retro-orange) 100%);
  box-shadow: 0 8px 32px var(--retro-shadow);
  z-index: 200;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1), opacity 0.3s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 24px 24px 0 0;
  cursor: pointer;
  transition: color var(--transition), transform var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--primary);
  transform: scale(1.15);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
  margin-top: 40px;
  padding-left: 32px;
}
.mobile-nav a {
  font-family: var(--font-sans);
  font-size: 1.3rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  padding: 8px 0;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: #fff;
}

/* Hide desktop nav on mobile, show burger */
@media (max-width: 1024px) {
  header .container {
    flex-wrap: wrap;
  }
  header nav {
    display: none;
  }
  .cta-button {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ----------------------
   COOKIE CONSENT BANNER
----------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, var(--retro-yellow) 0%, var(--retro-orange) 100%);
  color: var(--retro-dark);
  font-family: var(--font-body);
  box-shadow: 0 -2px 16px var(--retro-shadow);
  padding: 24px 16px 20px 16px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.4s, transform 0.4s;
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner p {
  margin: 0 0 8px 0;
  font-size: 1.05rem;
  color: var(--retro-dark);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn {
  font-family: var(--font-sans);
  font-weight: 700;
  border: none;
  border-radius: 20px;
  padding: 10px 24px;
  font-size: 1rem;
  cursor: pointer;
  margin: 0 4px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 8px var(--retro-shadow);
}
.cookie-btn.accept {
  background: var(--accent);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--primary);
  color: var(--retro-yellow);
}
.cookie-btn.reject {
  background: var(--retro-brown);
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--accent);
  color: #fff;
}
.cookie-btn.settings {
  background: var(--retro-yellow);
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--retro-orange);
  color: var(--accent);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44, 38, 33, 0.45);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: var(--retro-cream);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px var(--retro-shadow);
  padding: 32px 24px 24px 24px;
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modalIn 0.5s cubic-bezier(.4,0,.2,1);
}
@keyframes modalIn {
  from { transform: translateY(40px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2rem;
  cursor: pointer;
  transition: color var(--transition), transform var(--transition);
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--primary);
  transform: scale(1.15);
}
.cookie-modal-content h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.5em;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--retro-dark);
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--accent);
  width: 20px;
  height: 20px;
}
.cookie-category.essential label {
  color: var(--retro-brown);
  font-weight: 700;
}
.cookie-category.essential input[type="checkbox"] {
  accent-color: var(--retro-brown);
}

/* ----------------------
   LISTS & OL/UL
----------------------- */
ul, ol {
  margin-bottom: 1.2em;
  padding-left: 1.5em;
}
ul li, ol li {
  margin-bottom: 0.5em;
  font-family: var(--font-body);
  font-size: 1.05rem;
  position: relative;
}
ul li::before {
  content: '\25A0';
  color: var(--accent);
  font-size: 0.8em;
  margin-right: 0.7em;
  position: absolute;
  left: -1.3em;
  top: 0.2em;
}
ol li::before {
  display: none;
}

/* ----------------------
   FORMS (Newsletter, Contact)
----------------------- */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 8px;
  border: 2px solid var(--retro-brown);
  padding: 10px 14px;
  margin-bottom: 16px;
  background: var(--retro-cream);
  color: var(--retro-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 2px 12px var(--retro-shadow);
}
button, input[type="submit"] {
  font-family: var(--font-sans);
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 10px 28px;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 8px var(--retro-shadow);
}
button:hover, button:focus, input[type="submit"]:hover, input[type="submit"]:focus {
  background: var(--primary);
  color: var(--retro-yellow);
}

/* ----------------------
   RESPONSIVE DESIGN
----------------------- */
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
  .hero {
    padding: 36px 0 24px 0;
  }
  .hero h1 {
    font-size: 1.7rem;
  }
  .feature-grid > div, .card {
    min-width: 0;
    width: 100%;
    padding: 18px 10px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 6px;
  }
  .cta-button {
    padding: 10px 18px;
    font-size: 1rem;
  }
  footer .container {
    padding: 18px 6px;
  }
  .cookie-modal-content {
    padding: 18px 8px 14px 8px;
    min-width: 0;
    width: 95vw;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.3rem;
  }
  h2 {
    font-size: 1.1rem;
  }
  .feature-grid > div, .card {
    padding: 12px 4px;
  }
  .cookie-banner {
    padding: 14px 4px 10px 4px;
  }
}

/* ----------------------
   MICRO-INTERACTIONS
----------------------- */
.feature-grid > div, .card, .testimonial-card, .cta-button, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: box-shadow var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}

/* ----------------------
   VINTAGE RETRO DECORATIVE ELEMENTS
----------------------- */
.section:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, transparent 0 20px, rgba(178,34,52,0.04) 20px 40px);
  z-index: 0;
}
.section > * {
  position: relative;
  z-index: 1;
}

/* Retro border for hero */
.hero {
  border-top: 8px double var(--retro-brown);
  border-bottom: 8px double var(--retro-brown);
  position: relative;
}
.hero:after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--retro-yellow) 0 20px, var(--retro-orange) 20px 40px);
  border-radius: 0 0 12px 12px;
  z-index: 1;
}

/* Retro underline for h2 */
h2 {
  position: relative;
  display: inline-block;
}
h2:after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--retro-brown) 100%);
  border-radius: 2px;
  margin-top: 6px;
}

/* ----------------------
   ACCESSIBILITY
----------------------- */
:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ----------------------
   PRINT STYLES
----------------------- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .hero, .feature-grid > div, .card, .testimonial-card { box-shadow: none !important; background: #fff !important; border: none !important; }
}
