/* ==================================================================
   RETROSAITEN | INDUSTRIAL MODERN THEME
   Comprehensive CSS for all site pages
   Flexbox-only layout | Mobile-first | Brand-specific styling
   ================================================================== */

/* ====== CSS RESET & BASE TYPOGRAPHY ====== */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-size: 100%; /* 16px for normal devices */
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #191E28;
  color: #F5F2EB;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  background-color: #1B263B;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin-left: 1.25em;
  padding-left: 1.25em;
}
a {
  color: #B5A642;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F5F2EB;
  text-decoration: underline;
}

/* ====== BRAND TYPOGRAPHY ====== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #F5F2EB;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
h1 {
  font-size: 2.5rem; /* 40px */
  margin-bottom: 18px;
  text-shadow: 0 4px 16px rgba(30,31,34,0.12);
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.4rem;
  color: #B5A642;
}
h4 { font-size: 1.1rem; }
h5, h6 { font-size: 1rem; }
p, li, span, blockquote {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
  color: #F5F2EB;
}
strong { color: #B5A642; }

/* ====== NAVIGATION STYLES ====== */
header {
  background: #131924;
  border-bottom: 1px solid #26314B;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 14px 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.main-nav > a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #F5F2EB;
  letter-spacing: 1px;
  font-size: 1rem;
  transition: color 0.18s;
  padding: 6px 10px;
  border-radius: 4px;
  position: relative;
}
.main-nav > a:hover, .main-nav > a:focus {
  color: #B5A642;
  background: #222733;
}
.main-nav img {
  height: 36px;
  width: auto;
  margin-right: 8px;
  vertical-align: middle;
}
.cta-btn {
  background: #B5A642;
  color: #191E28;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 26px;
  border-radius: 25px;
  border: none;
  font-size: 1.05rem;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(181,166,66,0.10), 0 1px 0 rgba(53,53,53,0.04);
  margin-left: 16px;
  transition: background 0.2s, color 0.18s, box-shadow 0.3s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #F5F2EB;
  color: #B5A642;
  box-shadow: 0 4px 20px rgba(181,166,66,0.30), 0 1px 0 rgba(53,53,53,0.04);
}

/* ====== MOBILE MENU ====== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 15px;
  padding: 10px 12px;
  z-index: 1102;
  background: #1B263B;
  border: none;
  border-radius: 6px;
  font-size: 2rem;
  color: #F5F2EB;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #26314B;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 100vw;
  width: 100vw;
  height: 100vh;
  background: #1B263B;
  box-shadow: -8px 0 40px rgba(19,25,36,0.3);
  z-index: 1500;
  transition: transform 0.36s cubic-bezier(.4,0,.2,1);
  transform: translateX(0);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  left: 0;
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: transparent;
  color: #F5F2EB;
  font-size: 2.2rem;
  border: none;
  align-self: flex-start;
  padding: 12px 0 0 20px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin: 20px;
  margin-top: 48px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #B5A642;
  padding: 8px 0;
  transition: color 0.2s;
  border-bottom: 1px solid #26314B;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F5F2EB;
  background: #222733;
}

@media (max-width: 1150px) {
  .main-nav {
    padding: 12px 5vw;
  }
}
@media (max-width: 950px) {
  .main-nav a:not(.cta-btn):not(:first-child) { font-size: 0.98rem; }
}
@media (max-width: 840px) {
  .main-nav > a:not(.cta-btn):not(:first-child) { font-size: 0.96rem; }
}
@media (max-width: 780px) {
  .main-nav > a:not(:first-child):not(.cta-btn) {
    display: none;
  }
  .main-nav {
    gap: 10px;
  }
  .cta-btn {
    margin-left: auto;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ====== LAYOUT CONTAINERS & SPACING ====== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  margin-top: 38px;
  margin-bottom: 38px;
}
@media (max-width: 600px) {
  .content-wrapper {
    margin-top: 20px; margin-bottom: 20px;
  }
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #212A39;
  box-shadow: 0 2px 16px rgba(20,20,22,0.12);
  border-radius: 16px;
  padding: 30px 28px;
  flex: 1 1 320px;
  min-width: 240px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F5F2EB;
  color: #1B263B;
  border-radius: 14px;
  margin-bottom: 26px;
  box-shadow: 0 2px 10px rgba(21, 28, 37, 0.10);
  border: 1.5px solid #B5A642;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1B263B;
  font-size: 1.18rem;
  font-weight: 500;
  border-left: 6px solid #B5A642;
  padding-left: 18px;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 1rem;
  color: #484B51;
  font-weight: 600;
}
.stars {
  font-size: 1.4rem;
  color: #B5A642;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/********** HERO ************/
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 350px;
  padding: 40px 0 24px 0;
  border-bottom: 2px solid #26314B;
  box-shadow: 0 4px 24px rgba(18, 22, 27, 0.22);
}
.hero .content-wrapper {
  margin-top: 0;
  margin-bottom: 0;
  max-width: 680px;
}
.hero h1 {
  color: #F5F2EB;
  font-size: 2.7rem;
  margin-bottom: 10px;
  text-shadow: 0 8px 34px rgba(27,38,59,0.35);
}
.hero h2 {
  font-size: 1.35rem;
  color: #B5A642;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  margin-bottom: 24px;
}
.hero .cta-btn {
  margin-top: 20px;
}

/********** FEATURE CARDS & GRIDS ************/
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 0 0;
  justify-content: space-between;
}
.feature {
  background: #232B38;
  border-radius: 14px;
  box-shadow: 0 1px 10px rgba(26,32,48,0.13);
  overflow: hidden;
  padding: 26px 20px 22px 20px;
  flex: 1 1 225px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1.2px solid #353945;
  transition: box-shadow 0.25s, border-color 0.2s;
}
.feature:hover {
  box-shadow: 0 5px 26px rgba(181, 166, 66, 0.09), 0 2px 32px rgba(36,41,51,0.08);
  border-color: #B5A642;
}
.feature img {
  height: 45px;
  width: 45px;
  margin-bottom: 14px;
  filter: grayscale(40%) brightness(1.1);
}
.feature h3 {
  margin-bottom: 9px;
  color: #B5A642;
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.feature p {
  color: #F5F2EB;
  font-size: 1rem;
  line-height: 1.56;
}

@media (max-width: 900px) {
  .features-grid, .content-grid, .card-container {
    gap: 16px;
  }
  .feature {
    padding: 21px 12px 18px 14px;
  }
}
@media (max-width: 660px) {
  .features-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 13px;
  }
  .feature {
    min-width: 0;
    width: 100%;
    border-radius: 9px;
    padding: 17px 8px;
  }
}

/********** ABOUT PREVIEW ************/
.about-preview {
  background: #232B38;
  color: #F5F2EB;
  border-radius: 12px;
  padding: 24px 18px;
  margin-top: 12px;
  box-shadow: 0 1px 8px rgba(31,34,44,0.10);
  font-size: 1.1rem;
}
.about-preview a {
  color: #B5A642;
  font-weight: 600;
  text-decoration: underline;
}

/********** CTA BANNER ************/
.cta-banner {
  background: #222733;
  border-top: 1px solid #353945;
  box-shadow: 0 4px 22px rgba(23,29,43,0.15) inset;
  padding: 40px 0;
  margin-top: 40px;
  width: 100%;
}
.cta-banner h2 {
  font-size: 2rem;
  color: #B5A642;
  margin-bottom: 24px;
}
.cta-banner .cta-btn {
  margin-top: 10px;
  font-size: 1.05rem;
}

/********** CTA-LINK ************/
.cta-link {
  color: #B5A642;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-top: 12px;
  display: inline-block;
  font-size: 1rem;
  transition: color 0.16s;
}
.cta-link:hover { color: #F5F2EB; }

/********** TEXT-SECTION ************/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #202431;
  padding: 22px 18px;
  border-radius: 10px;
  margin-bottom: 22px;
  box-shadow: 0 1px 8px rgba(31,34,44,0.09);
}
.text-section ul {
  margin-bottom: 8px;
}
.text-section img {
  height: 20px;
  width: 20px;
  vertical-align: middle;
  margin-right: 7px;
  opacity: 0.76;
}
.text-section h2, .text-section h3 { color: #B5A642; }

/********** FAQ SECTION ************/
.faq-section {
  display: flex;
  flex-direction: column;
  gap: 17px;
  background: #212A39;
  border-radius: 13px;
  padding: 27px 21px;
  margin-bottom: 32px;
  box-shadow: 0 1px 10px rgba(25,28,34,0.14);
}
.faq-section ul { margin-bottom: 10px; }
.faq-section li {
  margin-bottom: 10px;
  color: #E5E3D5;
  line-height: 1.68;
}
.faq-section h2 { color: #B5A642; }

/********** TABLES ************/
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 1rem;
}
thead {
  background: #191E28;
  color: #B5A642;
}
th, td {
  padding: 12px 9px;
  border-bottom: 1px solid #353945;
  text-align: left;
}
tbody tr {
  background: #222733;
  color: #F5F2EB;
  transition: background 0.16s;
}
tbody tr:hover {
  background: #282D3A;
}
@media (max-width: 650px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }
  th, td {
    padding: 11px 5px;
    font-size: 0.96rem;
  }
  th {
    background: #222733;
    color: #B5A642;
  }
}

/********** FOOTER ************/
footer {
  background: #191E28;
  border-top: 2px solid #26314B;
  color: #F5F2EB;
  font-size: 1rem;
  padding: 38px 0 21px 0;
  margin-top: 52px;
  z-index: 1;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #B5A642;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.13s;
  letter-spacing: 1px;
  padding: 3px 0;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F5F2EB;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: center;
  margin-top: 14px;
  color: #E2E0D7;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.97rem;
}
.footer-contact img {
  height: 19px;
  width: 19px;
  opacity: 0.82;
}

@media (max-width: 740px) {
  .footer-contact, .footer-nav {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
}

/********************************************************
  ----- RESPONSIVE SCALES & UTILITIES -----
*********************************************************/
@media (max-width: 620px) {
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.27rem; }
  .container { padding: 0 7px; }
  .cta-banner, .section { padding: 24px 2vw; }
}

/********** CARDS, SHADOWS, BORDERS ************/
.card {
  background: #222733;
  border-radius: 13px;
  box-shadow: 0 2px 14px rgba(21,22,26,0.13);
  color: #F5F2EB;
  transition: box-shadow 0.2s, border-color 0.18s;
  border: 1.5px solid #232B38;
}
.card:hover {
  box-shadow: 0 10px 32px rgba(181,166,66,0.12), 0 2px 32px rgba(36,41,51,0.13);
  border-color: #B5A642;
}

/********** COOKIE CONSENT BANNER ************/
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: #222733;
  color: #F5F2EB;
  padding: 22px 10vw 16px 10vw;
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
  box-shadow: 0 -3px 22px rgba(40,40,60,0.16);
  border-top: 2.5px solid #B5A642;
  animation: cookiein 0.7s cubic-bezier(.4,0,.2,1);
}
@keyframes cookiein {
  from { opacity: 0; transform: translateY(80px); }
  to { opacity: 1; transform: none; }
}
.cookie-consent-banner p {
  flex: 1 1 350px;
  color: #F5F2EB;
  font-size: 0.98rem;
}
.cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  outline: none;
  padding: 8px 24px;
  border-radius: 22px;
  font-size: 1rem;
  font-weight: 700;
  margin-right: 3px;
  cursor: pointer;
  color: #191E28;
  background: #B5A642;
  transition: background 0.22s, color 0.2s, box-shadow 0.2s;
}
.cookie-btn.settings {
  background: #303947;
  color: #B5A642;
  border: 1.5px solid #B5A642;
}
.cookie-btn.reject {
  background: #282D3A;
  color: #B5A642;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #F5F2EB;
  color: #B5A642;
  box-shadow: 0 2px 14px rgba(181,166,66,0.18);
}
@media (max-width: 760px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 10px;
    padding: 18px 4vw 13px 4vw;
  }
  .cookie-actions { justify-content: flex-end; }
}
@media (max-width: 399px) {
  .cookie-btn {
    padding: 6px 11px;
    font-size: 0.9rem;
  }
}

/**** COOKIE MODAL ****/
.cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%) scale(0.98);
  background: #191E28;
  color: #F5F2EB;
  border-radius: 15px;
  box-shadow: 0 10px 48px rgba(27,38,59,0.22);
  z-index: 2222;
  min-width: 320px;
  max-width: 94vw;
  padding: 38px 28px 28px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s, transform 0.32s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h2 {
  color: #B5A642;
  font-size: 1.53rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.cookie-category label {
  color: #F5F2EB;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  accent-color: #B5A642;
  width: 19px;
  height: 19px;
  cursor: pointer;
}
.cookie-category.essential label { color: #B5A642; }
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}
.cookie-modal .cookie-btn {
  margin: 0;
}
.cookie-modal-close {
  background: transparent;
  border: none;
  color: #F5F2EB;
  font-size: 1.7rem;
  position: absolute;
  top: 13px;
  right: 19px;
  cursor: pointer;
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 18px 6vw 18px 5vw;
    min-width: 0;
  }
}

/********************************************************
  ----- UTILITY & ANIMATION CLASSES -----
*********************************************************/
.show { display: block !important; }
.hide { display: none !important; }
.fade-in {
  opacity: 0;
  animation: fadeIn 0.64s 0.05s forwards;
}
@keyframes fadeIn {
  to {opacity:1;}
}

/******** TRANSITIONS / HOVER  *********/
button, .cta-btn, .cookie-btn, .card, .feature, .feature img, a {
  transition-property: background, color, border-color, box-shadow, transform;
  transition-duration: 0.2s, 0.15s, 0.15s, 0.28s, 0.13s;
  transition-timing-function: cubic-bezier(.4,0,.2,1),ease,ease,ease,ease;
}

/********************************************************
----- INDUSTRIAL MODERN EMBELLISHMENTS -----
*********************************************************/
.section, .feature, .card, .hero, .footer-nav, .footer-contact, .cta-banner {
  /* Subtly add metallic/deep shadow */
  box-shadow: 0 1px 10px rgba(51,51,61,0.09) inset;
}
.feature, .card, .testimonial-card {
  /* Simulate a faint metallic border */
  border-width: 1.5px;
  border-style: solid;
  border-image: linear-gradient(45deg, #232B38 10%, #B5A642 70%, #F5F2EB 100%) 1;
}

/********************************************************
----- INDUSTRIAL MODERN GENERAL ICONS -----
*********************************************************/
img[alt*="icon"], img[alt*="Icon"], img[alt*="map-pin"], img[alt*="Telefon"], img[alt*="E-Mail"] {
  filter: grayscale(45%) brightness(1.11) drop-shadow(0px 1px 2px #232B38);
}
img[alt*="logo"] {
  filter: none;
}

/********************************************************
----- OVERRIDES FOR INDUSTRIAL FONTS -----
*********************************************************/
body, p, li, blockquote, span, ul, ol {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
h1, h2, h3, .cta-btn, .feature h3, .main-nav, .cookie-btn, .footer-nav a, .stars {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-stretch: semi-expanded;
  text-transform: none;
}

/********************************************************
----- FORM ELEMENTS -----
*********************************************************/
input, textarea, select {
  background: #232B38;
  color: #F5F2EB;
  border-radius: 7px;
  border: 1.5px solid #353945;
  padding: 9px 14px;
  font-size: 1rem;
  margin-bottom: 12px;
  font-family: inherit;
  transition: border-color 0.17s, box-shadow 0.19s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #B5A642;
  box-shadow: 0 2px 8px rgba(181,166,66,0.13);
}

/********************************************************
----- PREVENT OVERLAPPING & Z-INDEX STACKING -----
*********************************************************/
main, section, .container, .content-wrapper, .card, .feature, .testimonial-card, .cookie-consent-banner, .cookie-modal, .mobile-menu {
  z-index: auto;
}

/********************************************************
----- ACCESSIBILITY CONTRAST ADJUSTMENTS -----
*********************************************************/
.testimonial-card, .testimonial-card blockquote, .testimonial-card span {
  color: #191E28;
}

/********************************************************
----- GENERAL BUTTONS, LINK, INTERACTIVES -----
*********************************************************/
button, .cta-btn, .cookie-btn {
  outline: none;
  border: none;
  cursor: pointer;
  appearance: none;
}

/********************************************************
----- SCROLLBAR STYLE (INDUSTRIAL DARK) -----
*********************************************************/
html::-webkit-scrollbar {
  width: 12px;
  background: #16203a;
}
html::-webkit-scrollbar-thumb {
  background: #353945;
  border-radius: 12px;
  border: 2px solid #232B38;
}
html::-webkit-scrollbar-thumb:hover {
  background: #B5A642;
}

/********************************************************
----- PRINT & SELECTION -----
*********************************************************/
::selection {
  background: #B5A642;
  color: #191E28;
}

/********************************************************
----- CARD SPACING -----
*********************************************************/
.card:not(:last-child), .testimonial-card:not(:last-child) {
  margin-bottom: 20px !important;
}

/********************************************************
----- END OF CSS -----
*********************************************************/
