/* =======================================================
   Lively Horizon Industrial Modern CSS - style.css
   ======================================================= */
/* CSS RESET & NORMALIZATION */
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 { line-height: 1; background: #15191c; color: #efefef; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; border: none; }
button { background: none; border: none; cursor: pointer; font: inherit; }
:focus { outline: 2px solid #569E79; outline-offset: 2px; }

/* ================= BRAND FONTS =================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');
:root {
  --color-primary: #20436E;
  --color-secondary: #569E79;
  --color-accent: #F2E6D9;
  --color-bg-light: #21262a;
  --color-bg-dark: #15191c;
  --color-metal: #88949c;
  --color-text: #efefef;
  --color-text-gray: #bdbdbd;
  --color-text-dark: #1a1a1a;
  --radius-standard: 10px;
  --radius-card: 16px;
  --shadow-soft: 0 2px 16px 0 rgba(32,67,110, 0.07), 0 1.5px 4px 0 rgba(40,40,45,0.11);
  --shadow-industrial: 0 6px 24px 0 rgba(30,45,65,0.16), 0 0.5px 0.5px 0 #88949c;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}
body {
  font-family: var(--font-body);
  background: var(--color-bg-dark);
  color: var(--color-text);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  color: var(--color-accent);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(32,67,110,0.07);
}
h1 { font-size: 2.2rem; line-height: 1.1; }
h2 { font-size: 1.5rem; margin-top: 40px; }
h3 { font-size: 1.2rem; margin-top: 28px; }
h4, h5, h6 { font-size: 1rem; }
.subtitle, .hero .subtitle {
  color: var(--color-secondary);
  font-size: 1.2rem;
  font-family: var(--font-display);
  margin-bottom: 18px;
  letter-spacing: 0.03em;
}
p, li, ul, ol, a {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.7;
}
strong { color: var(--color-metal); font-weight: 700; }

/* ====== LAYOUT CONTAINERS & SPACING PATTERNS ====== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px; padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  display: flex; flex-direction: column; gap: 16px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-bg-light);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-industrial);
  margin-bottom: 20px; /* as required */
  position: relative;
  padding: 32px 24px;
  transition: box-shadow 0.25s, transform 0.18s;
  border: 1.5px solid #222933;
}
.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 10px 32px 0 rgba(32,67,110,0.15),0 0.5px 0.5px 0 #6b7580;
}
.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: var(--color-accent);
  color: var(--color-text-dark);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  margin-bottom: 24px;
  font-size: 1.07rem;
  min-width: 0;
  flex-direction: column;
}
.testimonial-card span {
  color: var(--color-secondary); font-size: 1.4em;
  letter-spacing: 2px;
}
.feature-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 15px;
  margin-bottom: 20px;
}

/* ============== HEADER & NAVIGATION ============== */
header {
  background: #181f24;
  border-bottom: 2px solid #23272b;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.07);
  position: sticky;
  top: 0; z-index: 200;
}
header .container {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
}
header img {
  height: 44px;
  min-width: 100px;
}
.main-nav {
  display: flex; gap: 24px;
}
.main-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1rem;
  text-transform: uppercase;
  position: relative;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-bg-dark);
}

.cta-primary {
  background: linear-gradient(90deg, #569E79 60%, #20436E 120%);
  color: #F2E6D9;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 11px 28px;
  border-radius: 27px;
  font-size: 1rem;
  letter-spacing: 0.08em;
  box-shadow: 0 2px 12px 0 rgba(86,158,121,0.14);
  border: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  margin-left: 22px;
  display: inline-block;
  outline: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, #20436E 40%, #569E79 100%);
  color: #fff;
  box-shadow: 0 8px 26px 0 rgba(32,67,110,0.23);
  transform: translateY(-4px) scale(1.035);
}

/* ============== MOBILE NAVIGATION ============= */
.mobile-menu-toggle {
  display: none;
  background: var(--color-metal);
  color: #111;
  border-radius: 7px;
  padding: 10px 12px;
  font-size: 1.5rem;
  line-height: 1;
  z-index: 230;
  margin-left: 16px;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-secondary);
  color: #fff;
}
.mobile-menu {
  display: flex; flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #15191c;
  transform: translateX(-110%);
  transition: transform 0.42s cubic-bezier(.5,1.55,.44,1.08);
  z-index: 300;
  opacity: 0.99;
  box-shadow: 0 0 40px 6px rgba(32,67,110,0.24);
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.34s cubic-bezier(.33,1.33,.44,1.01);
}
.mobile-menu-close {
  margin: 24px 0 0 22px;
  color: var(--color-accent);
  font-size: 2.1rem;
  background: none;
  border: none;
  border-radius: 8px;
  padding: 6px 14px;
  transition: background .15s;
  align-self: flex-start;
  z-index: 320;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary);
  color: #fff;
}
.mobile-nav {
  display: flex; flex-direction: column;
  gap: 22px; margin: 36px 0 0 36px;
  width: 88vw;
  max-width: 340px;
}
.mobile-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  padding: 13px 0;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s, padding-left 0.16s;
  text-transform: uppercase;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: #222;
  padding-left: 16px;
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(106deg, #181f24, #222933 76%, #20436E 120%);
  min-height: 285px;
  border-radius: 0 0 42px 42px;
  box-shadow: 0 10px 32px 0 rgba(32,67,110,0.10);
  margin-bottom: 38px;
  display: flex; align-items: center;
}
.hero .container { padding-bottom: 44px; }
.hero .content-wrapper {
  align-items: flex-start;
  gap: 14px;
  text-align: left;
}
@media (max-width: 768px) {
  .hero {
    border-radius: 0 0 22px 22px;
    min-height: 160px;
    padding-top: 20px;
  }
  .hero .content-wrapper {
    text-align: left;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ========== GENERAL SECTIONS, SPACING ========= */
section, .section {
  background: var(--color-bg-light);
  border-radius: var(--radius-standard);
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 768px) {
  section, .section {
    padding: 26px 9px;
    margin-bottom: 36px;
    border-radius: 14px;
  }
  h1 { font-size: 1.33rem; }
  h2 { font-size: 1.05rem; margin-top: 20px; }
  .container { padding: 0 7px; }
  .content-wrapper { gap: 10px; }
}

/* ============ FAQ LIST (SPARTIPPS) =========== */
.faq-list {
  display: flex; flex-direction: column; gap: 20px; margin-top: 10px;
}
.faq-list > div {
  background: #1d2226;
  border-radius: 10px;
  box-shadow: 0 1.5px 8px 0 rgba(32,67,110,0.10);
  padding: 20px 18px;
  color: var(--color-text);
  border-left: 4px solid var(--color-secondary);
}
.faq-list > div strong {
  color: var(--color-secondary);
}

/* =============== BLOG POST GRID ================= */
.categories-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 17px;
}
.categories-filter a {
  background: #1e2429;
  color: var(--color-accent);
  padding: 8px 16px;
  border-radius: 7px;
  font-family: var(--font-display);
  font-weight: 700;
  transition: background 0.13s, color 0.13s;
  border: 1.5px solid #262f37;
}
.categories-filter a.active,
.categories-filter a:hover,
.categories-filter a:focus {
  background: var(--color-secondary);
  color: #fff;
}
.blog-post-grid {
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: flex-start;
}
.blog-post-grid article {
  flex: 1 1 270px;
  min-width: 270px; max-width: 350px;
  background: #232933;
  border-radius: 14px;
  box-shadow: var(--shadow-industrial);
  padding: 28px 19px;
  margin-bottom: 20px;
  display: flex; flex-direction: column;
  gap: 12px;
  border: 1.5px solid #222933;
  transition: box-shadow 0.22s, transform 0.13s;
}
.blog-post-grid article:hover {
  transform: translateY(-4px) scale(1.012);
  box-shadow: 0 8px 22px 0 rgba(32,67,110,0.15),0 0.5px 0.5px 0 #88949c;
}
.blog-post-grid h3 {
  color: var(--color-secondary); font-size: 1.1rem;
}
.blog-post-grid a {
  color: var(--color-accent);
  font-weight: 700;
  margin-top: 7px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  transition: color 0.12s, padding-left 0.13s;
}
.blog-post-grid a:hover {
  color: var(--color-secondary);
  padding-left: 6px;
}

@media (max-width: 900px) {
  .blog-post-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* ============== FOOTER ====================== */
footer {
  background: #181f24;
  border-top: 2px solid #23272b;
  color: var(--color-accent);
  padding: 34px 0 18px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.footer-nav {
  display: flex; gap: 22px;
}
.footer-nav a {
  color: var(--color-accent);
  font-weight: 700;
  transition: color 0.14s, text-decoration 0.1s;
  font-size: 0.95rem;
  padding: 7px 0;
  letter-spacing: 0.03em;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
  text-decoration: underline;
}
.brand-signature {
  font-size: 0.98rem;
  color: var(--color-metal);
  margin-top: 10px;
  letter-spacing: 0.03em;
}

/* ========== ICON LISTS & CONTACT ============== */
section ul {
  margin: 10px 0 0 0; padding: 0 0 0 0; list-style: none;
  display: flex; flex-direction: column; gap: 18px;
}
section li {
  display: flex; align-items: center; gap: 12px;
  font-size: 1rem;
  color: var(--color-accent);
}
section li img {
  width: 28px; height: 28px;
  filter: grayscale(50%) brightness(1.25) contrast(1.2);
}

/* ============ MAP PLACEHOLDER (KONTAKT) ======= */
.map-placeholder {
  background: #232933;
  border-radius: 10px;
  color: var(--color-accent);
  padding: 18px 16px;
  margin-top: 26px;
  font-size: 1rem;
  font-family: var(--font-display);
  box-shadow: 0 1px 7px 0 rgba(86,158,121,0.07);
}

/* =============== COOKIE CONSENT BANNER ================ */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; width: 100vw;
  z-index: 3300;
  display: flex; align-items: center;
  justify-content: center;
  background: #232933;
  color: var(--color-accent);
  padding: 28px 16px 18px 16px;
  box-shadow: 0 0 24px 12px rgba(32,67,110,0.18);
  font-size: 1rem;
  gap: 22px;
  transition: transform 0.34s;
}
.cookie-banner.hide {
  transform: translateY(140%);
}
.cookie-banner__text {
  flex: 1 1 0%;
  font-family: var(--font-body);
  color: var(--color-accent);
}
.cookie-banner__buttons {
  display: flex; gap: 12px;
}
.cookie-btn {
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-display);
  padding: 8px 22px;
  border-radius: 20px;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  margin-left: 2px;
  transition: background .17s, color .13s, box-shadow .16s;
  box-shadow: 0 2px 7px 0 rgba(86,158,121,0.09);
}
.cookie-btn.settings {
  background: var(--color-metal);
  color: var(--color-text-dark);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #1d2226;
  color: var(--color-accent);
}

/* =============== COOKIE MODAL ================ */
.cookie-modal {
  display: none;
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(1);
  z-index: 4000;
  background: #222933;
  border-radius: 18px;
  color: var(--color-accent);
  min-width: 310px;
  max-width: 96vw;
  box-shadow: 0 0 70px 12px rgba(32,67,110,0.17);
  padding: 36px 22px 32px 22px;
  font-size: 1rem;
  animation: cookieModalFadeIn 0.35s cubic-bezier(.48,1.45,.5,1.01) 1;
}
@keyframes cookieModalFadeIn {
  0% { opacity: 0; transform: translate(-50%,-60%) scale(0.88); }
  100% { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
.cookie-modal.open {
  display: block;
}
.cookie-modal__header {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--color-secondary);
  font-size: 1.23rem;
  margin-bottom: 15px;
}
.cookie-modal__close {
  position: absolute; right: 17px; top: 14px;
  background: none;
  color: var(--color-accent);
  font-size: 2rem;
  border: none;
  border-radius: 9px;
  padding: 1px 10px;
  transition: background .15s, color .12s;
}
.cookie-modal__close:hover { background: var(--color-secondary); color: #fff; }
.cookie-modal__body {
  margin-top: 10px;
  display: flex; flex-direction: column; gap: 12px;
}
.cookie-modal__section {
  padding: 18px 0; border-bottom: 1px solid #32383e;
}
.cookie-modal__toggle {
  display: flex; align-items: center; gap: 16px;
  margin-top: 4px;
}
.cookie-toggle-checkbox {
  width: 38px; height: 22px;
  appearance: none;
  border-radius: 10px;
  background: #b2b2b2;
  outline: none;
  margin: 0 4px 0 0;
  cursor: pointer;
  position: relative;
  transition: background 0.19s;
}
.cookie-toggle-checkbox:checked {
  background: var(--color-secondary);
}
.cookie-toggle-checkbox:before {
  content: '';
  position: absolute;
  left: 2.5px; top: 2.5px;
  width: 17px; height: 17px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 6px 0 rgba(32,67,110,0.08);
  transition: left 0.19s;
}
.cookie-toggle-checkbox:checked:before {
  left: 16px;
}
.cookie-toggle-label {
  font-size: 1rem;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 600;
}
.cookie-modal__footer {
  display: flex; gap: 16px; justify-content: flex-end;
  margin-top: 24px;
}

/* ============== RESPONSIVENESS ============== */
@media (max-width: 1100px) {
  .container { max-width: 98vw; }
}
@media (max-width: 990px) {
  .main-nav, .footer-nav {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  .header .container, footer .container { flex-direction: column; gap: 12px; }
  .main-nav { gap: 8px; }
}
@media (max-width: 760px) {
  header .container {
    flex-direction: row;
  }
  .main-nav {
    display: none;
  }
  .cta-primary {
    margin-left: auto;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-nav {
    flex-direction: column; gap: 8px;
    align-items: center;
  }
  .map-placeholder { font-size: 0.95rem; }
}
@media (max-width: 520px) {
  .hero { font-size: 0.97rem; }
  .hero .container, .section, section {
    padding: 10px 4px;
  }
  .cta-primary {
    width: 95vw;
    max-width: 99vw;
    padding: 11px 0;
  }
  .container { max-width: 100vw; }
}

/* FLEX DIRECTION FOR TEXT-IMAGE SECTION */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 19px;
  }
}

/* =================== ANIMATIONS & MICRO-INTERACTIONS =================== */
a, .cta-primary, .main-nav a, .mobile-nav a, .blog-post-grid a {
  transition: color 0.15s, background 0.15s, box-shadow 0.16s, padding 0.15s, transform 0.11s;
}
.card, .testimonial-card, .faq-list > div, .blog-post-grid article {
  transition: box-shadow 0.23s, transform 0.14s;
}
.card:hover, .testimonial-card:hover, .faq-list > div:hover, .blog-post-grid article:hover {
  box-shadow: 0 9px 36px 0 rgba(30,45,65,0.20), 0 0.5px 0.5px 0 #88949c;
  transform: translateY(-3px) scale(1.017);
}

/* ============== UTILITIES ============== */
.mt-32 { margin-top: 32px !important; }
.text-center { text-align: center !important; }

/* Accessibility: Hide visually but not from screen readers */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; border: 0; clip: rect(0,0,0,0); }

/* ================= END OF STYLE =================== */
