/* ----------------------------
   RESET & BASE 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 {
  font-family: 'Roboto', Arial, sans-serif;
  box-sizing: border-box;
  background: #101214;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  color: #cccccc;
  background: #101214;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #B88A44;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #ffd37a;
  outline: none;
}
ul, ol {
  list-style: none;
}

/* -----------------------------
   FONT SETUP (WEBSAFE + GOOGLE)
------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
}
h1 { font-size: 2.125rem; margin-bottom: 16px; }
h2 { font-size: 1.5rem; margin-bottom: 12px; }
h3 { font-size: 1.2rem; margin-bottom: 10px; }
@media (min-width: 600px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.25rem; }
}
p, li, ul, ol {
  color: #cccccc;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
}
strong, b {
  color: #ffd37a;
  font-weight: 700;
}

/* -------------------------
   BRAND COLOR VARIABLES
-------------------------- */
:root {
  --primary: #1A1A1A;
  --secondary: #CCCCCC;
  --accent: #B88A44;
  --bg-dark: #101214;
  --text-light: #fff;
  --neon-blue: #23c6fd;
  --neon-green: #18ff91;
  --neon-pink: #fd42f7;
}

/* -------------------------------------------
   STRUCTURAL LAYOUT CONTAINERS & WRAPPERS
-------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #16171a;
  border-radius: 18px;
  box-shadow: 0 6px 32px 0 rgba(28,36,58,0.13);
}

@media (min-width: 750px) {
  .section {
    padding: 56px 32px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #171822;
  margin-bottom: 20px;
  padding: 28px 20px;
  border-radius: 18px;
  box-shadow: 0 3px 32px 0 rgba(28,36,58,0.13);
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1.5px solid transparent;
}
.card:hover {
  box-shadow: 0 6px 38px 0 rgba(184,138,68,0.26);
  border: 1.5px solid var(--accent);
  transform: translateY(-2px) scale(1.012);
}

/* Visual patterns for other layouts */
.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: #171822;
  border-radius: 18px;
  padding: 20px 28px;
  margin-bottom: 24px;
  box-shadow: 0 2px 18px 0 rgba(35,198,253,0.11);
  position: relative;
}
.testimonial-card p {
  color: #16171a;
  font-size: 1.05rem;
  font-family: 'Roboto', sans-serif;
}
.testimonial-meta {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 0.98em;
  color: #222;
}
.testimonial-meta strong {
  color: var(--accent);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}

/* --------------------------------------------
   HEADER, NAVIGATION, & C-T-A BUTTONS
-------------------------------------------- */
header {
  width: 100%;
  background: #16171a;
  border-bottom: 2.5px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 90;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  gap: 0;
}
header img {
  height: 44px;
  margin-right: 15px;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', sans-serif;
  color: var(--secondary);
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 1rem;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom 0.2s;
}
nav a:hover, nav a:focus {
  color: #fff;
  border-bottom: 2px solid var(--accent);
}
.cta-primary {
  font-family: 'Montserrat', sans-serif;
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  padding: 12px 32px;
  border-radius: 24px;
  box-shadow: 0 2px 16px 0 rgba(184,138,68,0.16);
  border: none;
  text-align: center;
  outline: none;
  cursor: pointer;
  transition: background 0.22s, transform 0.18s, box-shadow 0.2s;
  margin-left: 24px;
  margin-top: 0;
}
.cta-primary:hover, .cta-primary:focus {
  background: #ffd37a;
  color: #212121;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 28px 0 rgba(184,138,68,0.37);
}

/* -----------------------------------
   HERO SECTIONS WITH NEON ACCENTS
------------------------------------ */
.hero {
  background: linear-gradient(92deg,#171822 0%, #101214 70%);
  border-bottom: 2px solid var(--accent);
  padding: 44px 0 40px 0;
  position: relative;
}
.hero h1, .hero h2 {
  color: #fff;
  text-shadow: 0 0 14px var(--neon-blue),0 1px 12px var(--accent);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 10px;
}
.hero p {
  color: #c3efff;
  font-size: 1.08em;
  margin-bottom: 24px;
}

/* -----------------------------------
   FEATURES & SERVICES SECTIONS
------------------------------------ */
.features, .financing-features, .features-vorteile, .gallery-features, .services, .services-overview, .about-story, .about, .contact-info, .contact-form, .how-to-reach {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #14161b;
  border-radius: 18px;
  box-shadow: 0 2px 32px 0 rgba(35,198,253,0.10);
}
.features h2 {
  color: var(--neon-blue);
  margin-bottom: 10px;
}
.features ul, .services ul, .about-story ul, .financing-features ul, .features-vorteile ul {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 20px;
}
.features ul li, .services ul li, .about-story ul li, .financing-features ul li, .features-vorteile ul li {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
  background: #1a1a1f;
  border-radius: 12px;
  padding: 18px 16px;
  box-shadow: 0 1px 10px 0 rgba(35,198,253,0.07);
  border-left: 3px solid var(--accent);
  margin-bottom: 10px;
  transition: border-left 0.15s;
}
.features ul li:hover {
  border-left: 3px solid var(--neon-blue);
}
.features ul li img, .services ul li img {
  width: 40px;
  height: 40px;
  margin-right: 12px;
  flex-shrink: 0;
}
.features ul li strong {
  color: var(--accent);
  font-size: 1.08em;
  margin-right: 8px;
}

/* -------------------------------------
   CARDS & VARIOUS SECTION WRAPPERS
-------------------------------------- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* -----------------------------------
   FOOTER
------------------------------------ */
footer {
  width: 100%;
  background: #16171a;
  border-top: 2px solid var(--accent);
  padding: 36px 0 24px 0;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  color: var(--secondary);
  margin-top: 40px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
footer img {
  height: 36px;
  margin-right: 12px;
}
footer nav {
  gap: 24px;
  flex-direction: row;
}
footer nav a {
  color: var(--secondary);
  font-size: 1rem;
  letter-spacing: 0.01em;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 2px;
  transition: color 0.21s, border-bottom 0.21s;
}
footer nav a:hover {
  color: var(--accent);
  border-bottom: 2px solid var(--neon-blue);
}
.footer-contact {
  color: #bbbbbb;
  font-size: 0.96em;
  font-family: 'Roboto', sans-serif;
  margin-top: 10px;
}

/* -----------------------------------
   RESPONSIVE - FLEXBOX LAYOUTS ONLY
------------------------------------ */
@media (max-width: 900px) {
  .container {
    max-width: 97vw;
  }
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section {
    padding: 28px 6px;
    margin-bottom: 40px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .hero {
    padding: 24px 0 24px 0;
  }
  nav {
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }
  header .cta-primary {
    margin-left: 0;
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 0.97rem;
  }
  .features ul, .services ul, .about-story ul, .financing-features ul, .features-vorteile ul {
    gap: 12px;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 4px;
  }
  .section, .features, .financing-features, .features-vorteile, .gallery-features, .services, .services-overview, .about-story, .about, .contact-info, .contact-form, .how-to-reach {
    padding: 18px 2px;
  }
}

/* Flex Responsive Alignment */
.text-image-section {
  flex-direction: column;
  align-items: center;
}
@media (min-width: 769px) {
  .text-image-section {
    flex-direction: row;
    align-items: center;
  }
}

/* ---------------------------
   MOBILE NAVIGATION BURGER
---------------------------- */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  position: absolute;
  right: 18px;
  top: 16px;
  cursor: pointer;
  z-index: 150;
  box-shadow: 0 1px 14px 0 rgba(184,138,68,0.19);
  transition: background 0.18s, color 0.18s;
  outline: none;
  display: none;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #ffd37a;
  color: #181c22;
}

@media (max-width: 950px) {
  nav {
    display: none !important;
  }
  .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,27,37, 0.975);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-110vw);
  transition: transform 0.36s cubic-bezier(.58,-0.35,.57,1.46);
  box-shadow: 0 1px 80px 0 rgba(35, 198, 253, 0.09);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  position: absolute;
  right: 20px;
  top: 24px;
  cursor: pointer;
  z-index: 2200;
  padding: 4px 12px;
  border-radius: 50%;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--accent);
  color: #101214;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 70px 32px 32px 22px;
  width: 100vw;
  z-index: 2001;
  margin-top: 38px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.17rem;
  letter-spacing: 0.02em;
  padding: 18px 0;
  border-bottom: 2px solid transparent;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  outline: none;
  border-radius: 8px;
  transition: color 0.24s, border-bottom 0.16s, background 0.26s;
  width: 90vw;
  max-width: 98vw;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--neon-blue);
  background: rgba(35,198,253,0.04);
  border-bottom: 2px solid var(--neon-blue);
}

@media (min-width: 951px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
}

/*-----------------------------------
  COOKIE CONSENT BANNER & MODALS
------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: #16161a;
  color: #fff;
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 26px 12px 26px 12px;
  box-shadow: 0 -4px 24px 0 rgba(35,198,253,0.10);
  border-top: 2.5px solid var(--accent);
  transition: transform 0.35s cubic-bezier(.67,-0.2,.44,1.24), opacity 0.28s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(110%);
  pointer-events: none;
}
.cookie-banner p {
  color: #fad9ae;
  font-size: 1rem;
  flex: 1 1 auto;
  margin-right: 24px;
  margin-bottom: 0;
}
.cookie-actions {
  display: flex;
  gap: 18px;
}
.cookie-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.01rem;
  font-weight: 600;
  border-radius: 32px;
  padding: 10px 22px;
  border: none;
  margin: 0 2px;
  outline: none;
  cursor: pointer;
  box-shadow: 0 1px 4px 0 rgba(255,255,255,0.07);
  transition: background 0.19s, color 0.19s;
}
.cookie-btn.accept {
  background: var(--accent);
  color: #fff;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #ffd37a;
  color: #111;
}
.cookie-btn.reject {
  background: #232433;
  color: #fff;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #141618;
}
.cookie-btn.settings {
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: var(--accent);
  color: #fff;
}
@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 18px 4px;
    font-size: 0.97em;
  }
  .cookie-banner p {
    margin-right: 0;
  }
  .cookie-actions {
    gap: 7px;
  }
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(46,51,61, 0.85);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #1b1c23;
  border-radius: 20px;
  box-shadow: 0 2px 32px 0 rgba(35,198,253,0.17);
  padding: 36px 28px;
  max-width: 95vw;
  width: 370px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 4001;
  animation: modalFadeIn 0.31s cubic-bezier(.76,-0.17,.45,1.12);
}
@keyframes modalFadeIn {
  from {
    opacity: 0; transform: scale(0.92);
  } to {
    opacity: 1; transform: scale(1);
  }
}
.cookie-modal h2 {
  color: var(--accent);
  font-size: 1.16rem;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  background: #191c22;
  border-radius: 8px;
  padding: 10px 8px;
}
.cookie-category label {
  color: #fff;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
}
.cookie-toggle {
  accent-color: var(--accent);
  width: 22px;
  height: 22px;
}
.category-essential {
  font-style: italic;
  color: #bbb;
}
.cookie-modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 10px;
}
.cookie-close {
  position: absolute;
  right: 20px; top: 18px;
  color: #fff;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 50%;
  transition: background 0.17s;
}
.cookie-close:hover,
.cookie-close:focus {
  background: var(--accent);
  color: #1b1c23;
}

/* ---------------------------------
   MICRO-INTERACTIONS & ANIMATION
---------------------------------- */
.card, .cta-primary, .features ul li, .mobile-nav a, .cookie-btn, .cookie-modal, .mobile-menu {
  transition: all 0.18s cubic-bezier(.72,0,.27,.99);
}
.card:hover, .features ul li:hover {
  box-shadow: 0 6px 54px 0 rgba(184,138,68,0.21), 0 16px 36px rgba(35,198,253,0.07);
  border-color: var(--neon-blue);
}
.cta-primary:active {
  transform: scale(0.97);
}
.mobile-menu.open {
  animation: menuSlideIn 0.34s both;
}
@keyframes menuSlideIn {
  0% { transform: translateX(-110vw); }
  100% { transform: translateX(0); }
}
.mobile-menu:not(.open) {
  animation: menuSlideOut 0.33s both;
}
@keyframes menuSlideOut {
  0% { transform: translateX(0); }
  100% { transform: translateX(-110vw); }
}

/* -----------------------------------
   FOCUS STYLES & ACCESSIBILITY
-------------------------------------*/
:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.cta-primary:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  box-shadow: 0 0 0 3px #46baff66;
  outline: none;
}

/* --------------------------------
   UTILITIES
----------------------------------*/
.mt-40 { margin-top: 40px !important; }
.mb-24 { margin-bottom: 24px !important; }
.text-center { text-align: center !important; }
.text-lg { font-size: 1.24rem !important; }

/* --------------------------------
   PRINT PREVIEW (optional)
----------------------------------*/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body, .container, .section { background: #fff !important; color: #111 !important; }
}
