/* ----------------------------
   RESET & BASE STYLES
------------------------------- */
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 {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #181D1C;
  color: #E1E3E2;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.55;
  letter-spacing: 0.01em;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  background-image: url('../assets/noise.png'); /* subtle grunge texture for industrial feel, fallback to none if missing */
  background-repeat: repeat;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #F7D038;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #fff;
  text-decoration: underline;
}
ul, ol {
  margin-bottom: 1.5em;
  margin-left: 1.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Narrow', Arial, sans-serif;
  color: #F7D038;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 1.75rem; margin-bottom: 18px; }
h3 { font-size: 1.125rem; margin-bottom: 10px; color: #FFF; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; margin-bottom: 10px; }

p, li {
  font-size: 1rem;
  color: #E1E3E2;
}
p {
  margin-bottom: 16px;
}
strong, b {
  color: #F7D038;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
}

/* ----------------------------
   FLEX SPACING / LAYOUT RULES
------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}
.text-section {
  max-width: 630px;
}
.card-container,
.card-grid,
.feature-grid,
.service-list,
.project-list,
.article-list,
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.card,
.testimonial-card,
.feature-item {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #222726;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(34,37,38,0.16), 0 1.5px 0 #202d2b;
  border: 1px solid #313938;
  padding: 28px 28px 24px 28px;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(31,35,37,0.27), 0 1.5px 0 #3b4745;
  transform: translateY(-3px) scale(1.02);
  border-color: #176245;
}
.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: 16px;
  background: #fafaf6;
  color: #181d1c;
  border-left: 6px solid #176245;
  box-shadow: 0 2px 12px rgba(40,40,40,0.06);
  border-radius: 12px;
  margin-bottom: 20px;
  padding: 20px 28px;
  position: relative;
  font-size: 1.06rem;
  min-width: 0;
}
.testimonial-card strong {
  color: #176245;
  font-size: 1.15rem;
  font-weight: bold;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Utility classes for cards, lists, etc. */
.service-list > div,
.project-list > div,
.article-list > div,
.faq-list > div {
  background: #222726;
  border: 1px solid #292e2d;
  border-radius: 10px;
  box-shadow: 0 1.5px 9px rgba(20,23,24,0.11);
  padding: 22px 22px 16px 22px;
  min-width: 230px;
  flex: 1 1 260px;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.16s;
}
.service-list > div:hover,
.project-list > div:hover,
.article-list > div:hover,
.faq-list > div:hover {
  border-color: #176245;
  box-shadow: 0 3px 16px rgba(31,53,38,0.23);
  transform: translateY(-2px) scale(1.015);
}

.address-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.contact-teaser {
  margin-top: 10px;
  background: #1e2322;
  border-radius: 8px;
  padding: 16px 20px;
  color: #f7d038;
  border-left: 4px solid #176245;
}

/* ----------------------------
   HEADER & NAVIGATION
------------------------------- */
header {
  background: #171B1A;
  box-shadow: 0 2px 6px rgba(24,29,28,0.08);
  border-bottom: 1px solid #242928;
  padding: 0;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}
header img[alt="Verborgene Kraft"] {
  height: 46px;
  width: auto;
  margin-right: 36px;
  flex-shrink: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  color: #E1E3E2;
  text-transform: uppercase;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.06em;
  padding: 8px 2px;
  border-bottom: 2.5px solid transparent;
  transition: color 0.15s, border-color 0.18s, background 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #F7D038;
  border-color: #F7D038;
  background: #222726;
}
.cta-button.primary {
  display: inline-block;
  background: #176245;
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-align: center;
  padding: 10px 28px;
  border-radius: 7px;
  border: none;
  margin-left: 24px;
  box-shadow: 0 1.5px 9px rgba(17,40,27,0.09);
  transition: background 0.20s, box-shadow 0.2s, color 0.22s, transform 0.15s;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.cta-button.primary:hover, .cta-button.primary:focus {
  background: #124c34;
  color: #f7d038;
  box-shadow: 0 5px 24px rgba(17,40,27,0.19), 0 1.5px 0 #dedede;
  transform: translateY(-2px) scale(1.04);
}
.cta-button {
  outline: none;
}

/* ----------------------------
   MOBILE NAVIGATION
------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #f7d038;
  font-size: 2rem;
  cursor: pointer;
  z-index: 200;
  margin-left: 12px;
  padding: 9px 12px 7px 12px;
  border-radius: 50%;
  transition: background 0.19s;
}
.mobile-menu-toggle:hover {
  background: #ffe28022;
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 325px;
  max-width: 95vw;
  height: 100vh;
  background: #181d1c;
  box-shadow: -6px 0 30px rgba(20,20,20,0.36);
  transform: translateX(110%);
  transition: transform 0.37s cubic-bezier(.39,.56,.37,.98);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 34px 20px 24px 27px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #f7d038;
  font-size: 2rem;
  align-self: flex-end;
  margin-bottom: 16px;
  cursor: pointer;
  padding: 0 6px;
  transition: color 0.15s, background 0.17s;
  border-radius: 50%;
}
.mobile-menu-close:hover {
  background: #ffe28024;
  color: #fffde0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  color: #e1e3e2;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 11px;
  border-radius: 5px;
  transition: background 0.17s, color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #232827;
  color: #f7d038;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .container {
    padding: 0 8px;
  }
  .cta-button.primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* FULLSCREEN OVERLAY FOR MOBILE NAVIGATION */
.mobile-menu::before {
  content: '';
  display: block;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26,28,26,0.29);
  z-index: -1;
  pointer-events: none;
}

/* Prevent scroll when mobile menu open */
body.mobile-menu-open {
  overflow: hidden;
}

/* ----------------------------
   HERO/BANNER & SECTION STYLES
------------------------------- */
main section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
main .container {
  padding-top: 0;
}

/* Adjust gap for cards/articles/flex sections as content grows */
.feature-grid, .card-grid, .service-list, .project-list, .article-list {
  gap: 24px;
}

.text-image-section {
  gap: 30px;
}

@media (max-width: 768px) {
  .text-image-section, .content-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .feature-grid, .card-grid, .service-list, .project-list, .article-list, .faq-list {
    flex-direction: column;
    gap: 20px;
  }
  .content-wrapper, .footer-links, .footer-social, .footer-contact, .newsletter-signup {
    flex-direction: column;
    gap: 18px;
  }
  main section {
    padding: 30px 0 0 0;
  }
}

/* ----------------------------
   BUTTONS & INTERACTIONS
------------------------------- */
button, .cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  outline: none;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.16s, transform 0.12s, box-shadow 0.11s;
}
button:active, .cta-button:active {
  transform: scale(0.97);
}

/* Secondary / ghost buttons */
.cta-button.secondary, .cookie-btn.secondary, .cookie-btn.settings {
  background: none;
  color: #176245;
  border: 1.5px solid #176245;
  padding: 10px 21px;
  margin: 0 7px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.05em;
}
.cta-button.secondary:hover,.cta-button.secondary:focus, .cookie-btn.secondary:hover, .cookie-btn.settings:hover {
  background: #244436;
  color: #fff;
  border-color: #f7d038;
}

/* ----------------------------
   FOOTER
------------------------------- */
footer {
  background: #181d1c;
  color: #b1b4b2;
  border-top: 1.5px solid #23282a;
  padding: 0;
}
footer .container {
  padding: 32px 16px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: #f7d038;
  font-size: 0.95rem;
  opacity: 0.86;
  text-decoration: underline;
  transition: color 0.18s, opacity 0.14s;
}
.footer-links a:hover,
.footer-links a:focus {
  color: #fff;
  opacity: 1;
}
.newsletter-signup {
  flex: 2 1 260px;
}
.newsletter-signup h4 {
  color: #f7d038;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 8px;
}
.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 8px 0 10px 0;
}
.footer-social a {
  border-radius: 50%;
  background: #1c2321;
  padding: 6px;
  display: flex;
  transition: background 0.17s;
}
.footer-social a:hover {
  background: #26615f;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #e1e3e2;
  font-size: 0.98rem;
  align-items: flex-start;
}
.footer-contact img {
  display: inline-block;
  vertical-align: middle;
  height: 1.2em;
  margin-right: 7px;
}
footer span {
  display: block;
  color: #aaa;
  font-size: 0.93em;
  margin-top: 2.5px;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 26px;
  }
}

/* ----------------------------
   TESTIMONIALS (Contrast & Card)
------------------------------- */
.testimonial-card {
  background: #fafaf6;
  color: #1b2321;
  border-left: 5px solid #176245;
  min-width: 0;
  font-size: 1.09rem;
  margin-bottom: 20px;
  box-shadow: 0 0.5px 7px rgba(90, 90, 88, 0.08);
  transition: box-shadow 0.18s, border-color 0.18s;
}
.testimonial-card div {
  color: #33413D;
  font-size: 0.99rem;
  margin-top: 2px;
}
.testimonial-card img {
  height: 19px;
  width: auto;
  display: inline-block;
  margin-right: 1.5px;
}
.testimonial-card strong {
  color: #176245;
  font-size: 1.10rem;
}

@media (max-width: 600px) {
  .testimonial-card {
    padding: 17px 10px;
    font-size: 1rem;
  }
}

/* ----------------------------
   LISTS, UL, OL, FAQ, etc.
------------------------------- */
ul {
  list-style: disc inside;
  padding-left: 22px;
  margin-bottom: 1em;
}
ol {
  list-style: decimal inside;
  padding-left: 22px;
  margin-bottom: 1em;
}
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.faq-list > div {
  background: #222726;
  border: 1px solid #292e2d;
  border-radius: 10px;
  box-shadow: 0 1.5px 9px rgba(20,23,24,0.11);
  padding: 22px 22px 16px 22px;
  min-width: 230px;
  flex: 1 1 250px;
}

/* ----------------------------
   TYPOGRAPHY SCALE
------------------------------- */
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1rem; }
}

/* ----------------------------
   CARD & FEATURE STYLES
------------------------------- */
.feature-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  background: #232826;
  border-radius: 8px;
  border: 1.5px solid #212826;
  padding: 22px 14px 18px 18px;
  min-width: 210px;
  flex: 1 1 240px;
  box-shadow: 0 1.5px 9px rgba(20,23,24,0.09);
  transition: box-shadow 0.19s, border-color 0.15s;
}
.feature-grid > div:hover {
  border-color: #176245;
  box-shadow: 0 5px 18px rgba(31,44,38,0.19);
}
.feature-grid img {
  display: block;
  height: 37px;
  margin-bottom: 3px;
}
.feature-grid h3 {
  color: #f7d038;
  font-size: 1.08rem;
}
.feature-grid p {
  color: #e1e3e2;
  font-size: 0.98em;
}

/* ----------------------------
   COOKIE CONSENT BANNER
------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #191b18fa;
  color: #EEE;
  z-index: 4000;
  box-shadow: 0 -1.5px 9px rgba(23,28,24,.17);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  padding: 24px 32px;
  font-size: 1rem;
  flex-wrap: wrap;
  pointer-events: auto;
  animation: cookieFadeIn 0.6s;
}
@keyframes cookieFadeIn {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin: 0 12px 0 0;
  flex: 1 1 220px;
  color: #EEE;
  font-size: 1rem;
}
.cookie-btn {
  margin: 0 6px;
  padding: 10px 22px;
  border-radius: 7px;
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.16s, color 0.13s, border 0.19s;
  outline: none;
}
.cookie-btn.accept {
  background: #176245;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #124c34;
  color: #f7d038;
}
.cookie-btn.reject {
  background: #191b18;
  color: #f7d038;
  border: 1.2px solid #f7d038;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #232827;
  color: #fff;
}
.cookie-btn.settings {
  background: #232726;
  color: #f7d038;
  border: 1.2px solid #176245;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #294f3f;
  color: #fff;
}
/* Cookie modal overlay & modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30,29,25,0.51);
  z-index: 4200;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cookie-modal {
  background: #222726;
  color: #fff;
  box-shadow: 0 2px 38px #13201255;
  border-radius: 13px;
  padding: 38px 32px;
  min-width: 320px;
  max-width: 95vw;
  width: 390px;
  animation: modalAppear 0.27s cubic-bezier(.17,.67,.23,.97);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@keyframes modalAppear {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1.0); opacity: 1; }
}
.cookie-modal h3 {
  color: #f7d038;
  font-size: 1.18rem;
  margin-bottom: 10px;
}
.cookie-category {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.cookie-toggle {
  appearance: none;
  width: 42px; height: 22px;
  background: #232826;
  border-radius: 11px;
  border: 1.2px solid #3c4541;
  position: relative;
  outline: none;
  transition: background 0.15s, border 0.15s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #176245;
  border-color: #176245;
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 4px; top: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 7px rgba(0,0,0,0.10);
  transition: left 0.18s;
}
.cookie-toggle:checked::before {
  left: 20px;
  background: #f7d038;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 13px; right: 23px;
  background: none;
  border: none;
  color: #f7d038;
  font-size: 1.28rem;
  cursor: pointer;
  opacity: 0.76;
  transition: color 0.13s, opacity 0.13s;
}
.cookie-modal .close-modal:hover {
  color: #fff;
  opacity: 1;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 16px;
}
@media (max-width: 600px) {
  .cookie-modal { padding: 22px 7px; }
  .cookie-banner { padding: 12px 7px; gap: 19px; }
}

/* ----------------------------
   METALLIC ACCENTS & URBAN FEEL
------------------------------- */
.card, .feature-grid > div, .service-list > div, .faq-list > div, .project-list > div {
  position: relative;
  box-shadow: 0 2.5px 16px 1.5px rgba(60,67,65,0.11);
  border: 1.5px solid #282d2b;
}
.card::before, .feature-grid > div::before, .service-list > div::before, .faq-list > div::before, .project-list > div::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg,#d4d5d6 0%,#bca85a 80%,#d4d5d6 100%);
  opacity: 0.14;
  border-radius: 8px 8px 0 0;
  z-index: 1;
  pointer-events: none;
}
.card:hover::before,
.feature-grid > div:hover::before,
.service-list > div:hover::before,
.faq-list > div:hover::before,
.project-list > div:hover::before {
  opacity: 0.31;
}

/* Subtle metal button accent */
.cta-button.primary, .cookie-btn.accept {
  box-shadow:
    0 1.5px 4px rgba(44,48,47,0.15),
    0 1.5px 0 #F7D038 inset;
  border: 1.5px solid #1a342b;
}

/* Urban border lines for industrial style */
.section {
  border-left: 4px solid #313938;
  border-bottom: 1.1px solid #232828;
  background: #191d1cfa;
  border-radius: 0 11px 13px 0;
}
@media (max-width: 650px) {
  .section {
    border-left: 0;
    border-bottom: 1.1px solid #232828;
    border-radius: 0 0 13px 13px;
    padding: 24px 4px;
  }
}

/* Demo for material/steel micro-shadow */
.main-nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #F7D038;
  transition: width 0.16s;
  margin-top: 2.5px;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 100%;
}

/* Banner accent line */
main section:first-of-type {
  border-top: 5px solid #FFD60033;
}
/* ----------------------------
   RESPONSIVE & ALIGNMENTS
------------------------------- */
@media (max-width: 1200px) {
  .container { max-width: 1000px; }
}
@media (max-width: 900px) {
  .container { max-width: 750px; }
  .content-wrapper { gap: 19px; }
}
@media (max-width: 600px) {
  .container { max-width: 98vw; padding-left: 2vw; padding-right: 2vw; }
  h1, h2 { margin-bottom: 13px; }
  .card, .feature-item, .testimonial-card { padding: 14px 9px; }
}

/* MISC UTILS */
@media (max-width: 400px) {
  .section { padding: 9px 2px; }
  .cookie-banner { font-size: 0.93em; padding: 7px 2px; }
}

/* Hide mobile menu by default for desktop */
@media (min-width: 981px) {
  .mobile-menu { display: none !important; }
}

/* Remove focus outline on mouse users, keep for keyboard (accessibility) */
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 2px solid #f7d038; outline-offset: 1px; }

/* ----------------------------
   END OF STYLE.CSS
------------------------------- */