/* =====================
   ZaunMeister Leoben – Futuristic Tech CSS
   By: Professional CSS & UI Designer
   ===================== */

/* --- RESET & BASE STYLES --- */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; }
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #F3F6F4;
  background: #191d25;
  letter-spacing: 0.01em;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-color: #212639;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: #6D8748;
  text-decoration: none;
  transition: color .2s, border-color .2s;
}

button, .btn-primary {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  border-radius: 40px;
  border: none;
  outline: none;
  transition: background .2s, color .2s, box-shadow .2s, border .2s;
  padding: 0.85em 2.2em;
  font-size: 1.1rem;
  margin: 0 0.5em;
  background: linear-gradient(90deg, #242d44 70%, #29395A 100%);
  color: #F3F6F4;
  box-shadow: 0 2px 24px 0 rgb(16 241 199 / 0.13), 0 0 0 2px #6D8748 inset;
  border: 2px solid #6D8748;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 0;
}
.btn-primary:hover, .btn-primary:focus {
  background: #6D8748;
  color: #191d25;
  border-color: #F3F6F4;
  box-shadow: 0 2px 38px 0 rgb(18 241 110 / 0.31),0 0 0 2px #F3F6F4 inset;
}

::-webkit-input-placeholder { color: #a5adbb; opacity:1; }
::-moz-placeholder { color: #a5adbb; opacity:1; }
:-ms-input-placeholder { color: #a5adbb; opacity:1; }
::placeholder { color: #a5adbb; opacity:1; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  margin-bottom: 0.4em;
  color: #F3F6F4;
  text-shadow: 0 2px 18px #1ff9d41b;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.16rem; }
p, ul, ol, li, table, th, td {
  font-size: 1rem;
  margin-bottom: 0.7em;
}
.subheadline {
  font-size: 1.25rem;
  color: #b7faed;
  margin-bottom: 1.5em;
  font-family: 'Roboto', Arial, sans-serif;
}
strong, b {
  font-weight: 700;
  color: #81ffb7;
}

/* --- LAYOUT CONTAINERS & STRUCTURES --- */
.container {
  width: 95%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  background-color: #232946;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgb(3 255 218 / 0.08);
  position: relative;
  padding: 24px;
  flex: 1 1 250px;
  min-width: 250px;
  transition: transform .15s, box-shadow .18s;
}
.card:hover {
  transform: translateY(-3px) scale(1.016);
  box-shadow: 0 10px 48px 0 rgb(17 255 217 / 0.13);
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f7f7f9;
  color: #141c23;
  border-radius: 18px;
  box-shadow: 0 4px 22px 0 rgb(18 239 208 / 0.11);
  min-width: 260px;
  margin-bottom: 20px;
  flex: 1 1 240px;
  position: relative;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #232946;
  border-radius: 18px;
  box-shadow: 0 4px 28px 0 rgb(133 255 202 / 0.06);
  padding: 24px;
  min-width: 220px;
  flex: 1 1 220px;
  transition: background .14s, box-shadow .14s;
  border: 1.5px solid #384363;
  margin-bottom: 20px;
}
.feature-item img {
  width: 48px; height: 48px;
  filter: drop-shadow(0 2px 8px #1fff8e6b);
}
.feature-item strong {
  margin-top: 0.6em; color: #6D8748; font-weight: 800;
}
.feature-item:hover {
  background: #29395A;
  box-shadow: 0 6px 50px 0 rgb(98 245 201 / 0.18);
  border-color: #6D8748;
}

/* --- NAVIGATION --- */
header {
  width: 100%;
  background: #232946;
  box-shadow: 0 6px 48px -12px #42ffb022;
  z-index: 20;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  margin-left: 32px;
}
.main-nav a {
  color: #F3F6F4;
  font-size: 1.01rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 8px 6px;
  border-radius: 6px;
  transition: background .18s, color .18s;
  border: 2px solid transparent;
}
.main-nav a:hover, .main-nav a:focus {
  background: #6D8748;
  color: #191d25;
  border-color: #10ffd6;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 24px;
  top: 26px;
  z-index: 100;
  background: #232946;
  color: #32ffbe;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2rem;
  box-shadow: 0 2px 12px #10ffd717;
  transition: background .19s, color .19s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #6D8748;
  color: #191d25;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #191d25ee;
  z-index: 200;
  transform: translateX(100vw);
  transition: transform .33s cubic-bezier(.5,1.6,.37,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 38px 30px 30px 24px;
  box-shadow: 0 4px 44px #58ffea33;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #232946;
  color: #32ffbe;
  border: none;
  font-size: 2.2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  position: absolute;
  right: 22px;
  top: 19px;
  cursor: pointer;
  z-index: 230;
  transition: background .23s, color .23s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #6D8748;
  color: #191d25;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 44px;
}
.mobile-nav a {
  display: block;
  background: #242d44dd;
  color: #74ffc6;
  padding: 18px 18px 18px 8px;
  border-radius: 10px;
  font-size: 1.28rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  margin-bottom: 0.5em;
  box-shadow: 0 2px 24px #10ffd622;
  transition: background .19s, color .19s, box-shadow .19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #6D8748ee;
  color: #191d25;
  box-shadow: 0 8px 32px #10ffd662;
}

/* --- FOOTER --- */
footer {
  background: #1d273b;
  color: #F3F6F4;
  padding: 22px 0 0 0;
  border-top: 2px solid #232946;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #6D8748;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 5px;
  transition: background .15s, color .15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #6D8748;
  color: #191d25;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-bottom: 18px;
  font-size: 0.92rem;
  color: #81ffb7;
}
.footer-brand img {
  height: 32px;
  width: auto;
}

/* =====================
   PAGE-SPECIFIC COMPONENTS & STRUCTURE
   ===================== */

/* HERO & CTA */
section:first-of-type .content-wrapper {
  align-items: center;
  justify-content: center;
  min-height: 330px;
  gap: 22px;
}
section .btn-primary {
  margin-top: 10px;
}

/* FEATURE GRIDS */
.feature-grid, .service-grid, .project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 0 0;
  justify-content: flex-start;
}
.service-item, .project-item {
  display: flex;
  flex-direction: column;
  background: #232946;
  border-radius: 18px;
  box-shadow: 0 2px 28px 0 rgb(110 247 209 / 0.13);
  padding: 22px 24px;
  min-width: 230px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  border: 1.5px solid #384363;
  transition: border .2s, box-shadow .2s, transform .16s;
}
.service-item h2, .project-item h2 { font-size: 1.35rem; color: #7fffc7; margin-bottom: 0.6em; }
.service-item .service-price, .project-item .service-price {
  display: inline-block;
  color: #6D8748;
  margin-top: 10px;
  font-weight: 700;
}
.service-item:hover, .project-item:hover {
  border-color: #6D8748;
  box-shadow: 0 8px 36px 0 #13ffe055;
  transform: translateY(-2px) scale(1.017);
}

/* TABLE STYLES */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #19202b;
  color: #F3F6F4;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 18px;
  margin-bottom: 18px;
}
thead tr {
  background: #29395A;
}
th, td {
  padding: 14px 20px;
  border-bottom: 1px solid #19323e;
  text-align: left;
}
thead th {
  color: #c9ffed;
  font-family: 'Montserrat';
  font-size: 1.08rem;
  font-weight: 700;
}
tbody tr:last-child td {
  border-bottom: none;
}
tbody td {
  font-size: 1rem;
}

/* TESTIMONIALS */
.testimonial-card {
  background: #f7f7f9;
  color: #191d25;
  border-left: 6px solid #6D8748;
  box-shadow: 0 4px 18px #10ffd614;
  position: relative;
  margin-bottom: 20px;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
  max-width: 420px;
}
.testimonial-card p {
  font-size: 1.10rem;
  color: #141c23;
}
.testimonial-card strong {
  color: #29395A;
  font-size: 1rem;
  margin-top: 8px;
}
.content-wrapper .testimonial-card:not(:last-child) {
  margin-right: 20px;
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch;
}

/* FAQ section */
.faq-section {
  background: #232946;
  border-radius: 16px;
  padding: 20px 22px;
  margin-top: 18px;
  box-shadow: 0 2px 16px #10ffd608;
}
.faq-section h3 {
  color: #74ffc6;
  margin-bottom: 12px;
}
.faq-section ul li strong {
  color: #6D8748;
  margin-right: 6px;
}

/* --- TEXT & CTA --- */
.text-section, .cta-section, .confirmation-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cta-section h2 {font-size: 2rem; color: #7fffc7;}
.confirmation-section a.btn-primary {
  margin-top: 18px;
}

/* --- UTILS & GENERIC --- */
ul, ol {
  margin-left: 1.4em;
  margin-bottom: 1em;
  list-style: disc inside;
}
ul li, ol li {
  margin-bottom: 0.6em;
  line-height: 1.6;
}

dt, dd {
  font-size: 1rem;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1120px) {
  .container { max-width: 980px; }
}
@media (max-width: 900px) {
  h1 { font-size: 2.1rem; }
  .footer-nav { gap: 14px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 1.73rem; }
  h2 { font-size: 1.27rem; }
  .section { padding: 34px 7px; }

  .container {
    max-width: 99vw;
    padding: 0 7px;
  }
  .main-nav { display: none !important; }
  .mobile-menu-toggle { display: block !important; }
  .btn-primary { font-size: 1rem; padding: 0.8em 1.6em; }
  .feature-grid, .service-grid, .project-list {
    flex-direction: column;
    gap: 16px;
  }
  .feature-item, .service-item, .project-item {
    min-width: unset;
    width: 100%;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 12px;
  }
  .testimonial-card {
    min-width: unset;
    max-width: 100%;
    margin-bottom: 12px;
  }
  .footer-brand { gap: 6px; font-size: 0.95rem; }
  .footer-brand img { height: 28px; }
  .footer-nav { gap: 6px; }
  .text-image-section, .content-grid, .content-wrapper {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: stretch !important;
  }
}
@media (max-width: 500px) {
  html { font-size: 14px; }
  .btn-primary { padding: 0.75em 1.2em; font-size: 0.98rem; }
  section { padding: 22px 4px; }
  .footer-brand img { height: 22px; }
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 8px; background: #10162b; }
::-webkit-scrollbar-thumb { background: #384363; border-radius: 5px; }

/* =====================
   COOKIE CONSENT BANNER
   ===================== */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  z-index: 2400;
  background: #191d25fd;
  padding: 22px 20px 18px 20px;
  box-shadow: 0 -4px 24px #1affc327;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: #F3F6F4;
  transition: transform .43s cubic-bezier(.5,1.8,.37,1);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(140%);
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex: 1 1 360px;
  min-width: 180px;
}
.cookie-banner .cookie-btn, .cookie-banner .cookie-settings-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 0.6em 1.65em;
  border-radius: 28px;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 6px 0 0;
  border: none;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
}
.cookie-banner .cookie-btn {
  background: #6D8748;
  color: #191d25;
  border: 2px solid #6D8748;
  box-shadow: 0 2px 12px #71ffcd22;
}
.cookie-banner .cookie-btn.reject {
  background: #d03636;
  border: 2px solid #a71f1f;
  color: #fffbd6;
}
.cookie-banner .cookie-btn:hover {
  background: #232946;
  color: #7fffc7;
  border-color: #6D8748;
}
.cookie-banner .cookie-btn.reject:hover {
  background: #232946;
  color: #fffbd6;
  border-color: #d03636;
}
.cookie-banner .cookie-settings-btn {
  background: #232946;
  color: #81ffb7;
  border: 2px solid #6D8748;
}
.cookie-banner .cookie-settings-btn:hover {
  background: #6D8748;
  color: #191d25;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%) scale(1);
  z-index: 2500;
  width: 99vw;
  max-width: 420px;
  background: #232946;
  border-radius: 16px;
  box-shadow: 0 6px 38px #13ffd66a;
  color: #F3F6F4;
  padding: 34px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1.04rem;
  opacity: 1;
  transition: opacity .4s .1s, transform .37s cubic-bezier(.15,.95,.29,1.27);
}
.cookie-modal.hide {
  opacity: 0;
  transform: translateX(-50%) scale(0.87);
  pointer-events: none;
}
.cookie-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}
.cookie-modal .modal-header h3 {
  color: #6D8748;
  font-size: 1.18rem;
  margin-bottom: 0;
}
.cookie-modal .modal-close {
  background: #232946;
  color: #32ffbe;
  border: none;
  font-size: 1.5rem;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  transition: background .17s, color .17s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: #6D8748;
  color: #191d25;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.cookie-category .toggle {
  width: 46px;
  height: 22px;
  background: #384363;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  border: 2px solid #232946;
  margin-right: 8px;
}
.cookie-category .toggle input {
  opacity: 0; width: 0; height: 0;
}
.cookie-category .toggle .slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: #b0f9d3;
  border-radius: 50%;
  transition: left .2s;
}
.cookie-category .toggle input:checked + .slider {
  left: 24px;
  background: #6D8748;
}
.cookie-category .cookie-label {
  flex: 1 1 0;
}
.cookie-category .required {
  color: #d03636;
  font-size: 0.99em;
  margin-left: 10px;
  font-weight: 700;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 13px;
  margin-top: 2px;
}
.cookie-modal .modal-actions .cookie-btn {
  background: #6D8748;
  color: #191d25;
  border: 2px solid #6D8748;
}
.cookie-modal .modal-actions .cookie-btn:hover {
  background: #232946;
  color: #81ffb7;
  border-color: #6D8748;
}
.cookie-modal .modal-actions .cookie-btn.reject {
  background: #d03636;
  color: #fffbd6;
  border: 2px solid #a71f1f;
}
.cookie-modal .modal-actions .cookie-btn.reject:hover {
  background: #232946;
  color: #fffbd6;
  border-color: #d03636;
}

/* --- MICRO-INTERACTIONS --- */
a, .btn-primary, .cookie-btn, .cookie-settings-btn, .feature-item, .service-item, .project-item, .mobile-nav a {
  transition: background .2s, color .16s, border-color .15s, box-shadow .18s, transform .19s;
}

/* --- UTILITY CLASSES --- */
.hide {
  display: none !important;
}
.show {
  display: block !important;
}
.text-center { text-align: center; }
.text-right { text-align: right; }

/* --- Z-INDEX LAYERS --- */
header { z-index: 20; }
.mobile-menu { z-index: 200; }
.cookie-banner { z-index: 2400; }
.cookie-modal { z-index: 2500; }

/* --- PRINT --- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  body { background: #fff !important; color: #000 !important; }
}

/* --- END --- */
