/* ----------------------
   Liberrigue Deckenbau – Industrial Modern CSS
   Developed for modern, precise, trustworthy style
   CRITICAL: FLEX ONLY (no grid/columns)
-------------------------*/

/* 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; }
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #181C1F;
  color: #F3F3F3;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a { color: #64A1B6; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #ffffff; text-decoration: underline; }
ul, ol { list-style: none; }
strong { font-weight: 700; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: 8px 12px; border-bottom: 1px solid #23282c; }

/* FONTS */
:root {
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --primary: #1D2731;
  --secondary: #64A1B6;
  --accent: #F3F3F3;
  --surface: #23282c;
  --steel: #868F98;
  --warning: #fdc66d;
  --success: #64b686;
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #F3F3F3;
  line-height: 1.22;
}
h1 { font-size: 2.25rem; margin-bottom: 20px; }
h2 { font-size: 1.75rem; margin-bottom: 16px; }
h3 { font-size: 1.2rem; margin-bottom: 8px; }
h4, h5 { font-size: 1rem; }
p, li, td, th {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #E6EAED;
}
ul, ol { padding-left: 20px; }
ul li, ol li { margin-bottom: 8px; }

@media (max-width: 480px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.18rem; }
}

/* Utility classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-light { color: #F3F3F3 !important; }
.text-dark { color: #1D2731 !important; }

/* Container & Section Layout */
.container {
  width: 100%;
  max-width: 1172px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Content Grid/Wrapper */
.content-wrapper, .content-grid, .features-grid, .services-list, .testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  background: #23282c;
  border-radius: 10px;
  box-shadow: 0 2px 16px 0 rgba(15,20,30, 0.07), 0 1.5px 6px 0 #1d273110;
  margin-bottom: 20px;
  padding: 24px 20px 16px;
  min-width: 220px;
  flex: 1 1 260px;
  transition: box-shadow 0.2s, transform 0.14s;
}
.card:hover {
  box-shadow: 0 6px 24px 0 rgba(20,25,36, 0.18), 0 4px 12px #89909830;
  transform: translateY(-4px) scale(1.01);
}

.feature-item {
  display: flex;
  flex-direction: column; 
  align-items: flex-start;
  gap: 15px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.content-grid,
.features-grid,
.services-list {
  gap: 24px;
}

@media (max-width: 1024px) {
  .container {
    max-width: 95vw;
    padding: 0 10px;
  }
  .features-grid > div, .services-list > div {
    flex: 1 1 250px;
    min-width: 200px;
  }
}

@media (max-width: 768px) {
  .content-wrapper,
  .features-grid, .services-list, .testimonials-slider,
  .content-grid, .text-image-section, .card-container {
    flex-direction: column !important;
    gap: 20px !important;
    align-items: stretch;
  }
  .container {
    padding: 0 4vw;
  }
}

/* HERO SECTION */
.hero {
  background: linear-gradient(113deg, #23282c 70%, #1D2731 105%);
  padding: 56px 0 44px 0;
  border-bottom: 2px solid #2d3237;
}
.hero .container {
  align-items: center;
  flex-direction: column;
}
.hero .content-wrapper {
  max-width: 710px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}
.hero h1 {
  font-size: 2.3rem;
  margin-bottom: 18px;
  color: var(--secondary);
  text-shadow: 0 2px 14px #181c1f40;
}
.hero p {
  font-size: 1.08rem;
  margin-bottom: 30px;
  color: #F3F3F3;
}
@media (max-width: 768px) {
  .hero {
    padding: 34px 0 24px 0;
  }
  .hero h1 {
    font-size: 1.25rem;
  }
  .hero p {
    font-size: 0.95rem;
  }
}

/* BUTTONS */
.btn-primary, button, .manage-cookies-btn {
  font-family: var(--font-display);
  background: var(--secondary);
  color: #1D2731;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  padding: 13px 30px;
  cursor: pointer;
  display: inline-block;
  box-shadow: 0 1px 6px #1d27313c;
  letter-spacing: 0.08em;
  margin-top: 12px;
  transition: background 0.18s, color 0.18s, box-shadow 0.20s;
}
.btn-primary:hover, button:hover, .manage-cookies-btn:hover,
.btn-primary:focus, button:focus, .manage-cookies-btn:focus {
  background: #85bfd7;
  color: #23282c;
  box-shadow: 0 6px 20px #64a1b619;
}
.btn-primary:active {
  background: #41798e;
}

/* NAVIGATION HEADER */
header {
  background: #1D2731;
  border-bottom: 3px solid #23282c;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 30px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 600;
  color: #F3F3F3;
  padding: 7px 13px;
  border-radius: 4px;
  transition: background 0.14s, color 0.14s;
  font-size: 1rem;
  text-transform: uppercase;
}
header nav a:hover, header nav a.active {
  background: #23282c;
  color: var(--secondary);
}
header .btn-primary {
  margin-top: 0;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 24px;
  background: #23282c;
  color: #F3F3F3;
  font-size: 2rem;
  padding: 8px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  z-index: 202;
  transition: background 0.17s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover { background: var(--secondary); color: #1D2731; }

.mobile-menu {
  position: fixed;
  height: 100vh;
  width: 100vw;
  background: #23282c;
  top: 0;
  left: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 20px 0 20px;
  transform: translateX(-105vw);
  transition: transform 0.33s cubic-bezier(.88,.01,0,1.18);
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: #F3F3F3;
  font-size: 2.2rem;
  align-self: flex-end;
  border: none;
  padding: 6px 14px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  padding: 17px 14px;
  border-radius: 8px;
  color: #F3F3F3;
  background: none;
  border: none;
  text-align: left;
  transition: background 0.12s, color .12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #23282c;
}

@media (max-width: 1024px) {
  header nav { display: none !important; }
  header .mobile-menu-toggle { display: block; }
  header .btn-primary { display: none; }
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* FOOTER */
footer {
  background: #181C1F;
  border-top: 2.5px solid #23282c;
  padding: 0 0 18px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px;
  padding-top: 36px;
  padding-bottom: 20px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer nav a {
  color: #64A1B6;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  color: #F3F3F3;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.97rem;
  color: #a5adb6;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 7px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* QUICK-CONTACT BLOCK */
.quick-contact {
  display: flex;
  gap: 28px;
  margin: 18px 0 0 0;
  flex-wrap: wrap;
  align-items: center;
}
.quick-contact div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #DEE4E7;
}
.quick-contact img {
  width: 21px;
  height: 21px;
  filter: grayscale(100%) invert(73%);
}
.quick-contact a {
  color: #64A1B6;
  font-weight: 500;
}

/* TESTIMONIALS */
.testimonials-slider, .testimonial-card {
  display: flex;
  gap: 20px;
}
.testimonials-slider {
  flex-wrap: wrap;
  min-width: 0;
}
.testimonial-card {
  background: #F3F3F3;
  color: #23282c;
  border-radius: 12px;
  min-width: 260px;
  max-width: 350px;
  box-shadow: 0 2px 14px #23282c11;
  padding: 20px;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  margin-bottom: 20px;
  border-left: 6px solid #64A1B6;
  transition: box-shadow 0.16s, border-color 0.10s;
}
.testimonial-card:hover{
  box-shadow: 0 8px 28px #1d273134;
  border-left: 6px solid #1D2731;
}
.testimonial-card .stars {
  color: #fdc66d;
  font-size: 1.08rem;
  margin-bottom: 3px;
}
.testimonial-card p {
  color: #23282c;
  font-weight: 500;
  margin-bottom: 10px;
}
.testimonial-card .client {
  font-size: 0.97rem;
  color: #789098;
  font-weight: 400;
}
.testimonial-card .project {
  font-size: 0.94rem;
  color: #64A1B6;
  margin-top: 1px;
}

/* FEATURES SECTION */
.features-grid > div {
  background: #23282c;
  border-radius: 8px;
  box-shadow: 0 2px 8px #181c1f09;
  padding: 26px 20px;
  min-width: 220px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.12s;
}
.features-grid > div:hover {
  box-shadow: 0 8px 24px #1d27312c;
  transform: translateY(-2px) scale(1.025);
}
.features-grid img {
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
  filter: brightness(9.5) grayscale(70%);
}

/* ICONS */
.features-grid img, .services-list img, .quick-contact img, .footer-contact img, .directions img {
  filter: grayscale(80%) brightness(95%) contrast(120%) drop-shadow(1px 2px 0 #181C1F10);
}

/* SERVICES LIST */
.services-list > div {
  background: #23282c;
  border-radius: 8px;
  padding: 22px 16px 16px 16px;
  min-width: 220px;
  flex: 1 1 220px;
  box-shadow: 0 2px 8px #181c1f14;
  margin-bottom: 20px;
}

/* DIRECTIONS list (Contact Page) */
.directions ul {
  padding-left: 8px;
}
.directions li {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 11px;
  color: #E6EAED;
}
.directions img {
  width: 22px;
  height: 22px;
}

/* TABLE (Cookie Policy) */
table {
  background: #23282c;
  border-radius: 4px;
  color: #F3F3F3;
  margin: 18px 0 12px 0;
  font-size: 0.99rem;
  overflow-x: auto;
}
th {
  font-family: var(--font-display);
  background: #181c1f;
  font-weight: 600;
  color: #64A1B6;
}
td { color: #E6EAED; }

/* OL/UL style in info sections */
ul, ol {
  list-style-position: outside;
  margin-bottom: 10px;
}
ul li::before {
  content: '\2022';
  color: #64A1B6;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
  font-weight: bold;
}
ol li {
  counter-increment: section;
  margin-left: 0.5em;
}

/* FAQ Section, List-style override */
.content-wrapper ul li strong {
  color: #64A1B6;
  font-family: var(--font-display);
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #23282c;
  color: #F3F3F3;
  z-index: 30001;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 18px 30px;
  padding: 22px 5vw 22px 5vw;
  border-top: 2px solid #64A1B6;
  box-shadow: 0 -6px 32px #1d2731ac;
  font-size: 1rem;
  transition: opacity 0.22s, bottom 0.22s;
}
.cookie-consent-banner button {
  margin-top: 0;
  margin-right: 12px;
  background: #64A1B6;
  color: #23282c;
  border: none;
  border-radius: 5px;
  padding: 9px 20px;
  font-size: 1rem;
  transition: background 0.15s, color 0.15s;
}
.cookie-consent-banner .accept {
  background: #64b686;
}
.cookie-consent-banner .accept:hover {
  background: #79B483;
  color: #23282c;
}
.cookie-consent-banner .reject {
  background: #E85945;
  color: #FAFAFA;
}
.cookie-consent-banner .reject:hover {
  background: #b0240c;
  color: #F3F3F3;
}
.cookie-consent-banner .settings {
  background: #23282c;
  color: #64A1B6;
  border: 1.2px solid #64A1B6;
}
.cookie-consent-banner .settings:hover {
  background: #1D2731;
}
@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 3vw 16px 3vw;
    gap: 14px;
  }
  .cookie-consent-banner button {
    width: 100%;
    margin-bottom: 7px;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(25, 34, 41, 0.86);
  z-index: 40000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s;
}
.cookie-modal {
  background: #F3F3F3;
  color: #23282c;
  border-radius: 12px;
  padding: 38px 30px 26px 30px;
  min-width: 315px;
  max-width: 96vw;
  box-shadow: 0 12px 52px #23282cb8;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal h2 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  color: #23282c;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 8px; top: 8px;
  background: #23282c;
  color: #F3F3F3;
  border: none;
  border-radius: 2.5px;
  font-size: 1.48rem;
  padding: 3px 16px;
  cursor: pointer;
  z-index: 1;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal .modal-close:hover {
  background: #64A1B6;
  color: #23282c;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 9px 0 0 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-category label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #23282c;
  font-weight: 500;
}
.cookie-category input[type='checkbox'] {
  width: 20px;
  height: 20px;
  accent-color: #64A1B6;
  border-radius: 2px;
  border: 1.5px solid #23282c;
}
.cookie-category .essential {
  font-style: italic;
  color: #789098;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal button {
  font-family: var(--font-display);
  padding: 10px 19px;
  border-radius: 4px;
  background: #64A1B6;
  color: #1D2731;
  font-size: 1rem;
  border: none;
  cursor: pointer;
}
.cookie-modal button:hover {
  background: #41798e;
  color: #F3F3F3;
}

@media (max-width: 500px) {
  .cookie-modal {
    padding: 24px 7vw 18px 7vw;
    min-width: unset;
    font-size: 0.96rem;
  }
  .cookie-modal h2 {
    font-size: 1.06rem;
  }
}

/* MICRO-INTERACTIONS / ANIMATIONS */
button, .btn-primary, .manage-cookies-btn, .mobile-menu-toggle {
  transition: background 0.2s, color 0.17s, box-shadow 0.19s, transform 0.18s;
}
button:active, .btn-primary:active, .manage-cookies-btn:active,
.mobile-menu-toggle:active {
  transform: scale(0.98);
}
.card, .testimonial-card, .features-grid > div, .services-list > div {
  transition: box-shadow 0.19s, transform 0.17s;
}
.card:hover, .features-grid > div:hover, .testimonial-card:hover, .services-list > div:hover {
  transform: translateY(-3px) scale(1.017);
  box-shadow: 0 10px 38px #1d273118;
}

/* Accessibility Focus Styles */
a:focus, button:focus, .btn-primary:focus {
  outline: 2.5px solid #64A1B6;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #FDFFFC;
  z-index: 130;
}

/* RESPONSIVE SPACING and FLEX DIRECTION */
@media (max-width: 768px) {
  .content-wrapper, .content-grid, .features-grid, .services-list, .testimonials-slider, .card-container, .text-image-section {
    flex-direction: column !important;
    gap: 20px !important;
    align-items: stretch;
  }
}

/* CUSTOM SCROLLBAR for Industrial Feel */
::-webkit-scrollbar {
  width: 10px;
  background: #23282c;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(132deg, #868F98 70%, #23282c 94%);
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: #64A1B6;
}

/* Industrial look: metallic separators and subtle industrial lines */
hr {
  border: 0;
  border-top: 1.5px solid #868F98;
  margin: 38px 0 22px;
  width: 80%;
}

/* Accent blocks */
.accent {
  background: #181c1f;
  color: #64A1B6;
  border-left: 7px solid #64A1B6;
  padding: 16px 18px;
  font-family: var(--font-display);
  border-radius: 8px 20px 20px 8px;
  box-shadow: 0 2px 12px #23282c25;
}

/* Hide outline on non-keyboard interaction but visible on keyboard */
body:not(.user-is-tabbing) *:focus {
  outline: none;
  box-shadow: none;
}

/* Accent metallic effect (subtle) */
.section, .features-grid > div, .services-list > div, .card, .testimonial-card {
  border: 1px solid #23282c;
  box-shadow: 0 1.5px 5px #23282c1f, 0 0.5px 2px #868F9833;
}

/* Forms (Contact/Page forms) */
input, textarea, select {
  font-family: var(--font-body);
  background: #23282c;
  color: #F3F3F3;
  border: 1.5px solid #868F98;
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 1rem;
  margin-bottom: 18px;
  width: 100%;
  transition: border 0.15s;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid #64A1B6;
  background: #181c1f;
}
label {
  font-family: var(--font-display);
  color: #E6EAED;
  margin-bottom: 6px;
  display: block;
}

/* Responsive font-size for buttons and text on mobile */
@media (max-width:410px){
  .btn-primary, .cookie-modal button, .cookie-consent-banner button {
    font-size: 0.98rem;
    padding: 9px 12px;
  }
}

/* Z-INDEX LAYERS */
header, .mobile-menu { z-index: 1200; }
footer { z-index: 1100; }

/* Utility visibility */
[hidden] { display: none !important; }

/* OVERLAY SHIM */
.overlay {
  display: flex;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(28,33,40,0.72);
  z-index: 32000;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  animation: fadeInOverlay 0.21s;
}
@keyframes fadeInOverlay {
  from { opacity: 0; } to { opacity: 1; }
}

/* --- END DESIGN --- */
