/* ==== 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, menu, 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;
}

body {
  line-height: 1.2;
  background: #181D24;
  color: #E6E6E9;
  font-family: 'Helvetica Neue', Arial, Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

img {
  border: 0;
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #6CA46A;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-word;
}
a:hover, a:focus {
  color: #F4F7FB;
  outline: none;
}
ul, ol {
  padding-left: 1.5em;
  margin: 20px 0;
}
li + li {
  margin-top: 10px;
}
strong {
  font-weight: 700;
}

/* ==== BRAND/INDUSTRIAL MODERN COLOR PALETTE ==== */
:root {
  --primary: #21406B;
  --primary-dark: #15253a;
  --secondary: #6CA46A;
  --secondary-dark: #4C6950;
  --accent: #F4F7FB;
  --metallic: #9099A2;
  --metal-shadow: #2C3440;
  --error: #8C2020;
  --white: #ffffff;
  --section-bg: #222731;
  --footer-bg: #181D24;
  --testimonial-bg: #F4F7FB;
  --testimonial-text: #1D232B;
  --industrial-shadow: 0 4px 20px 0 rgba(32,40,50,0.15);
  --radius: 14px;
  --radius-small: 7px;
  --focus-outline: 2px solid #6CA46A;
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Narrow', Arial, sans-serif;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--metallic);
}
p, ul, ol, li {
  font-size: 1rem;
  line-height: 1.6;
  color: #E6E6E9;
}
p {
  margin-bottom: 12px;
}

.tagline {
  display: block;
  font-family: 'Montserrat', 'Arial Narrow', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--metallic);
  margin-top: 2px;
}

.text-section {
  margin-bottom: 24px;
}

.text-section h2, .text-section h3 {
  color: var(--secondary);
}

/* ==== LAYOUT: FLEXBOX MANDATORY CONTAINERS ==== */
.container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

main {
  min-height: 60vh;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--section-bg);
  border-radius: var(--radius);
  box-shadow: var(--industrial-shadow);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: #232933;
  border: 1px solid var(--metallic);
  border-radius: var(--radius-small);
  margin-bottom: 20px;
  box-shadow: 0 2px 8px 0 rgba(32,40,50,0.12);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 24px 0 rgba(32,40,50,0.21);
  transform: translateY(-3px) scale(1.02);
}

.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;
  border-radius: var(--radius-small);
  background: var(--testimonial-bg);
  color: var(--testimonial-text);
  box-shadow: 0 2px 12px rgba(33,64,107,0.11);
  margin-bottom: 20px;
  min-height: 120px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 5px 32px rgba(108,164,106,0.13);
  transform: scale(1.015);
}
.testimonial-card p{
  color: var(--testimonial-text);
}
.testimonial-card span {
  font-style: italic;
  font-size: 1em;
  color: var(--primary);
  font-weight: 600;
  margin-left: auto;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 0 0;
  list-style: none;
}
.feature-grid li {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #232933;
  border-radius: var(--radius-small);
  padding: 18px 20px;
  min-width: 220px;
  box-shadow: 0 2px 8px 0 rgba(32,40,50,0.10);
  border-left: 4px solid var(--secondary);
  font-weight: 500;
}
.feature-grid img {
  width: 32px;
  height: 32px;
  filter: grayscale(16%) brightness(1.05) contrast(1.2);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #232933;
  border-radius: var(--radius-small);
  padding: 18px 20px;
  box-shadow: 0 1px 6px 0 rgba(33,64,107,0.04);
}

.case-study {
  background: #212730;
  border-left: 5px solid var(--secondary);
  border-radius: var(--radius-small);
  padding: 18px 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px 0 rgba(108,164,106,0.06);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ======== BUTTONS ======== */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  background: linear-gradient(90deg,var(--secondary) 85%,var(--metallic) 100%);
  border: none;
  border-radius: var(--radius-small);
  padding: 14px 32px;
  margin-top: 16px;
  box-shadow: 0 2px 12px 0 rgba(108,164,106,0.10);
  cursor: pointer;
  cursor: pointer;
  letter-spacing: 0.07em;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  outline: none;
  text-shadow: 1px 1px 0 #46632517;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg,var(--secondary-dark) 85%,var(--metallic) 100%);
  color: var(--white);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 28px rgba(108,164,106,0.18);
}

.button, button,
.cookie-accept, .cookie-reject, .cookie-settings, .mobile-menu-close {
  font-family: 'Montserrat', 'Arial Narrow', Arial, sans-serif;
  border-radius: var(--radius-small);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.16s, color 0.14s, box-shadow 0.14s, transform 0.13s;
}

button:focus, .cta-button:focus, .button:focus, .mobile-menu-close:focus { 
  outline: var(--focus-outline);
}

/* ==== HEADER & NAVIGATION ==== */
header {
  width: 100%;
  background: var(--primary-dark);
  box-shadow: 0 2px 18px 0 #15253a16;
  z-index: 20;
  position: relative;
}
.logo-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 18px 0 7px 0;
}
.logo-area img {
  height: 42px;
  width: auto;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 8px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 6px 14px;
  border-radius: var(--radius-small);
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  text-shadow: 1px 1px 0 #10182033;
  letter-spacing: 0.07em;
  transition: background 0.13s, color 0.12s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: var(--primary-dark);
}

header .cta-button {
  margin-left: auto;
  margin-top: 12px;
}

/* ==== FOOTER ==== */
footer {
  width: 100%;
  background: var(--footer-bg);
  padding: 32px 16px 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-top: 1px solid var(--primary-dark);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  color: var(--metallic);
  font-size: 0.96rem;
}
.footer-links a {
  color: var(--metallic);
  padding: 0 6px;
  text-decoration: underline dotted;
}
.footer-links a:hover {
  color: var(--secondary);
  text-decoration: underline solid;
}
.footer-contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  color: var(--metallic);
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .98rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  opacity: 0.7;
}

/* ==== MOBILE NAVIGATION ==== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 24px;
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: var(--accent);
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  z-index: 61;
  box-shadow: 0 2px 14px 0 #13213426;
  transition: background 0.16s, color 0.13s, transform 0.14s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--secondary);
  color: var(--primary-dark);
  transform: scale(1.06);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(24,29,36, 0.97);
  z-index: 70;
  overflow-y: auto;
  box-shadow: -4px 0 48px #181d2477;
  transform: translateX(100%);
  transition: transform 0.25s cubic-bezier(.85,0,.55,1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  color: var(--accent);
  font-size: 2.4rem;
  margin: 24px 24px 4px 0;
  padding: 0 10px;
  border: none;
  cursor: pointer;
  z-index: 63;
  transition: color 0.15s, transform 0.14s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--secondary);
  transform: scale(1.1) rotate(-8deg);
}
.mobile-nav {
  margin: 36px 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: calc(100vw - 64px);
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: var(--accent);
  text-transform: uppercase;
  padding: 13px 0 10px 0;
  border-bottom: 1px solid #2c3440;
  transition: color 0.18s, padding-left 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  padding-left: 16px;
}

/* ==== COOKIE CONSENT BANNER & MODAL ==== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: rgba(34,39,49, 0.93);
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  box-shadow: 0 -2px 20px 0 #1d232b66;
  z-index: 1002;
  padding: 22px 16px 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: cookieSlideUp .6s cubic-bezier(.5,.8,.6,1);
}
@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1;   }
}
.cookie-banner p {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 0;
}
.cookie-accept {
  background: var(--secondary);
  color: var(--primary-dark);
  padding: 10px 22px;
  border: none;
  font-weight: 700;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: var(--secondary-dark);
  color: var(--accent);
}
.cookie-reject {
  background: #232933;
  color: var(--accent);
  padding: 10px 18px;
  border: 1px solid var(--metallic);
}
.cookie-reject:hover, .cookie-reject:focus {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--secondary);
}
.cookie-settings {
  background: var(--metallic);
  color: var(--primary-dark);
  padding: 10px 18px;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: var(--accent);
  color: var(--metallic);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(27,35,47,0.83);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  animation: fadeInOverlay .3s cubic-bezier(.2,.9,.7,1);
}
@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--section-bg);
  color: var(--accent);
  max-width: 380px;
  width: 94vw;
  border-radius: var(--radius);
  padding: 32px 26px 24px 26px;
  box-shadow: 0 8px 64px #181d24cc;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: slideDownModal .25s cubic-bezier(.4,.95,.54,1);
}
@keyframes slideDownModal {
  from { opacity: 0; transform: translateY(-32px); }
  to   { opacity: 1; transform: translateY(0);  }
}
.cookie-modal h2 {
  color: var(--secondary);
  font-size: 1.24rem;
  margin-bottom: 7px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  margin-bottom: 9px;
}
.cookie-switch {
  width: 38px;
  height: 22px;
  position: relative;
  display: inline-block;
}
.cookie-switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-slider {
  position: absolute; cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--metallic);
  border-radius: 14px;
  transition: background .18s;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--secondary);
}
.cookie-slider:before {
  position: absolute; content: "";
  height: 16px; width: 16px;
  left: 3px; bottom: 3px;
  background: var(--accent);
  border-radius: 50%;
  transition: transform 0.18s;
  box-shadow: 0 2px 6px #aaaaaa0d;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(14px);
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

/* Utility Modals/Hidden */
.hidden { display: none !important; }

/* ==== GENERAL LAYOUT ADJUSTMENTS/SECTIONING ==== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--section-bg);
  border-radius: var(--radius);
  box-shadow: var(--industrial-shadow);
}

/* ======= RESPONSIVENESS (MOBILE-FIRST) ======= */
@media (max-width: 1140px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 850px) {
  .section,
  section {
    padding: 30px 10px;
    margin-bottom: 40px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  .main-nav {
    display: none;
  }
  header .cta-button {
    display: none !important;
  }
  .logo-area {
    align-items: flex-start;
    padding: 14px 0 3px 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-contact {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .content-grid {
    flex-direction: column;
    gap: 10px;
  }
  .section, section {
    padding: 18px 2vw;
    margin-bottom: 28px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 16px 10px;
    min-height: 90px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 13px;
  }
}

@media (max-width: 500px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.06rem; }
  .cta-button, .cookie-accept, .cookie-reject, .cookie-settings {
    font-size: 0.98rem;
    padding: 10px 12px;
  }
  html, body {
    font-size: 15px;
  }
}

/* ======== MICRO-INTERACTIONS & HOVER ANIMATIONS ======= */
a, button, .cta-button, .main-nav a, .mobile-nav a {
  transition: background 0.16s, color 0.14s, box-shadow .17s, transform .13s, border 0.11s;
}

/* ========== Z-INDEXING FOR OVERLAYS & MENUS ========== */
.mobile-menu { z-index: 70; }
.mobile-menu-close { z-index: 71; }
.cookie-banner { z-index: 1002; }
.cookie-modal-overlay { z-index: 2000; }

/* ========== ACCESSIBILITY OUTLINES ========== */
*:focus-visible {
  outline: var(--focus-outline) !important;
}

/* ========== PRINT SUPPORT ========== */
@media print {
  header, footer, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay { display: none !important; }
}

/* == END OF STYLE.CSS FOR HYOLORAFLY BERATUNG INDUSTRIAL MODERN == */