/* CSS RESET - Modern normalize & base styles for a fresh start */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  min-height: 100vh;
  line-height: 1.7;
  background: #F2F6F9;
  font-family: 'Roboto', Arial, sans-serif;
  color: #243040;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
  border: none;
}
a {
  color: #153958;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #bda253;
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #153958;
  font-weight: 700;
  line-height: 1.15;
}
h1 { font-size: 2.4rem; margin-bottom: 20px; letter-spacing: -1px; }
h2 { font-size: 1.8rem; margin-bottom: 18px; letter-spacing: -0.5px; }
h3 { font-size: 1.3rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 10px; }

p, ul, ol { margin-bottom: 16px; }
strong { font-weight: 600; }
ul, ol { padding-left: 20px; }
li { margin-bottom: 8px; }

::-webkit-input-placeholder { color: #7a8899; }
::-moz-placeholder { color: #7a8899; }
:-ms-input-placeholder { color: #7a8899; }
::placeholder { color: #7a8899; }

/* Luxury Premium Palette */
:root {
  --primary: #153958;
  --secondary: #F2F6F9;
  --accent: #47B47C;
  --gold: #bda253;
  --offwhite: #fcfcfc;
  --deep-navy: #102435;
  --text-main: #243040;
}

/* ---- Layout Containers ---- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--offwhite);
  border-radius: 16px;
  box-shadow: 0 4px 28px 0 rgba(24,32,55,0.07);
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.text-section {
  max-width: 680px;
}

/* ---- Header & Navigation ---- */
header {
  background: var(--offwhite);
  border-bottom: 2px solid #e7e4db;
  box-shadow: 0 2px 8px rgba(24,32,55,0.03);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  position: relative;
}
header img {
  height: 42px;
  width: auto;
  margin-right: 24px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--primary);
  padding: 10px 6px;
  transition: color .18s;
  border-radius: 4px;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--gold);
  background: #f8f7f3;
}
header .btn-primary {
  margin-left: 24px;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  padding: 8px 16px;
  color: var(--primary);
  cursor: pointer;
  border-radius: 8px;
  transition: background .17s;
  z-index: 1002;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #e6e1d2;
  color: var(--gold);
}

/* ---- Mobile Menu Overlay ---- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24, 32, 55, 0.97);
  z-index: 11000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.82,.04,.73,.98);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 2.1rem;
  font-weight: bold;
  padding: 24px 20px 12px 0;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff4d4;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  margin-top: 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 12px 0;
  transition: color .18s, background .11s;
  width: 80%;
  border-radius: 6px;
  text-align: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(189,162,83,.14);
  color: var(--gold);
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  header .container {
    gap: 12px;
  }
  header .btn-primary {
    margin-left: 4px;
  }
}
@media (max-width: 820px) {
  .main-nav { display: none !important; }
  .mobile-menu-toggle { display: block; }
}

/* ---- Hero Section ---- */
.hero-section {
  background: linear-gradient(120deg, #f3f3f7 70%, #e4e6ec 100%);
  padding: 60px 0 48px 0;
  border-bottom: 1.5px solid #efe9d3;
}
.hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}
.hero-section h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 7px;
  letter-spacing: -1.2px;
}
.subheadline {
  color: var(--deep-navy);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 12px;
}
.hero-section .btn-primary {
  margin-top: 14px;
}

@media (max-width: 600px) {
  .hero-section h1 { font-size: 2rem; }
  .hero-section .container { gap: 20px; }
}

/* ---- Buttons ---- */
.btn-primary {
  background: var(--primary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 14px 0 rgba(24,32,55,0.11);
  letter-spacing: 0.1em;
  transition: background 0.18s, color 0.16s, box-shadow 0.19s, transform 0.18s;
  outline: none;
  border: 1px solid var(--gold);
  position: relative;
  overflow: hidden;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--gold);
  color: var(--primary);
  box-shadow: 0 4px 20px 0 rgba(189,162,83,0.22);
  transform: translateY(-2px) scale(1.03);
}
.btn-primary:active {
  background: var(--primary);
  color: #fff;
}

/* ---- Features & Cards ---- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border: 1.5px solid #ede9dc;
  border-radius: 16px;
  box-shadow: 0 2px 18px 0 rgba(24,32,55,0.04);
  padding: 32px 24px 28px 24px;
  width: 320px;
  max-width: 100%;
  transition: box-shadow 0.2s, border-color 0.2s;
  position: relative;
}
.feature-item:hover, .feature-item:focus-within {
  border-color: var(--gold);
  box-shadow: 0 4px 28px 0 rgba(189,162,83,0.11);
}
.feature-item img {
  height: 44px; width: 44px;
  object-fit: contain;
  margin-bottom: 6px;
  filter: drop-shadow(0 4px 8px #15395811);
}
.feature-item h3 {
  color: var(--primary);
  font-size: 1.17rem;
  margin-bottom: 0;
}
.feature-item p {
  color: var(--text-main);
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}

@media (max-width: 950px) {
  .feature-grid { gap: 18px; }
  .feature-item { width: 100%; min-width: 240px; }
}
@media (max-width: 700px) {
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .feature-item {
    width: 100%;
    padding: 24px 18px 22px 18px;
  }
}

/* ---- Cards, Lists, and Infographics ---- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(24,32,55,0.08);
  transition: box-shadow .2s;
  position: relative;
  padding: 24px 18px;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(189,162,83,0.10);
}

.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;
}
@media (max-width: 768px) {
  .content-grid, .text-image-section { flex-direction: column; align-items: stretch; }
}

/* ---- Testimonial Styles ---- */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #fff8ef;
  border: 1.8px solid var(--gold);
  box-shadow: 0 3px 28px 0 rgba(189,162,83,0.07);
  border-radius: 16px;
  padding: 20px 32px;
  min-width: 220px;
  max-width: 440px;
  margin-bottom: 20px;
  font-size: 1.07rem;
  color: var(--deep-navy);
  position: relative;
}
.testimonial-card p {
  color: var(--deep-navy);
  font-style: italic;
  font-size: 1.04rem;
  margin: 0 0 8px 0;
  text-align: center;
}
.testimonial-name {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--gold);
  font-weight: 600;
  font-size: 1rem;
}
.customer-logos {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-top: 10px;
}
.customer-logos img {
  height: 36px; width: auto;
  filter: grayscale(1) brightness(1.2);
  opacity: .85;
  transition: filter .2s;
}
.customer-logos img:hover {
  filter: grayscale(0) brightness(1) drop-shadow(0 2px 6px #bda25333);
  opacity: 1;
}

@media (max-width: 700px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card { padding: 18px 12px; min-width: 0; }
  .customer-logos { gap: 16px; justify-content: center; }
}

/* ---- Statistics, Infographics, Highlights ---- */
.statistics-highlights, .improvement-examples, .analysis-case-study, .measured-results, .infographic-steps, .data-flow-diagram, .result-statistics {
  background: #f8faf7;
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 12px 18px;
  margin: 16px 0 4px 0;
  color: #23453c;
  font-size: 1rem;
  box-shadow: 0 1px 8px #efefef44;
}
.result-statistics, .measured-results {
  background: #fff7e5;
  border-left: 4px solid var(--gold);
  color: #a18331;
}

/* ---- FAQ (Kontakt Page) ---- */
.faq-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 10px;
}
.faq-list li {
  border-bottom: 1px solid #ece6d1;
  padding: 14px 0 14px 0;
  margin: 0 0 0 0;
}
.faq-list li strong {
  color: var(--primary);
  display: block;
  font-size: 1rem;
  margin-bottom: 3px;
}

/* ---- Address Block & Map ---- */
.address-block {
  font-size: 1.07rem;
  margin-bottom: 18px;
  color: #153958;
  background: #f9fafc;
  border-radius: 10px;
  padding: 24px 16px;
  box-shadow: 0 1px 8px #f2eee611;
}
.address-block img { height: 22px; width: auto; vertical-align: middle; margin-right: 4px; }
.map-embed {
  margin: 14px 0;
  display: flex;
  align-items: center;
}
.map-embed img { height: 52px; width: auto; }

/* ---- Footer ---- */
footer {
  background: var(--primary);
  color: #fff;
  padding: 32px 0 16px 0;
  border-top: 3px solid var(--gold);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 12px;
  align-items: center;
}
.footer-nav a {
  color: var(--gold);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 4px 9px;
  border-radius: 5px;
  transition: background .15s, color .15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #1c4575;
  color: #fff4d4;
}
footer address {
  font-style: normal;
  font-family: 'Roboto',Arial,sans-serif;
  color: #fff;
  padding: 0;
  line-height: 1.65;
  font-size: 1.04rem;
}
footer address strong {
  font-size: 1.1rem;
  color: var(--gold);
  font-family: 'Montserrat',Arial,sans-serif;
}
footer address img {
  height: 19px; width: auto; vertical-align: middle; margin-right: 2px;
  filter: grayscale(1) brightness(1.2) contrast(1.2);
  opacity: 0.76;
}
footer a {
  color: #fff;
  text-decoration: underline;
}
footer a:hover {
  color: var(--gold);
  text-decoration: underline;
}

@media (max-width: 600px) {
  footer .container { gap: 14px; padding-left: 8px; padding-right: 8px; }
  .footer-nav { gap: 14px; font-size: 0.97rem; }
}

/* ---- Cookie Consent Banner ---- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #fffdfa;
  box-shadow: 0 -4px 44px 0 rgba(189,162,83,0.13), 0 1px 0 #e8eaef;
  border-top: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 12000;
  padding: 26px 22px 18px 22px;
  gap: 28px;
  animation: cookieBannerSlideIn 0.45s cubic-bezier(.67,.07,.39,.97);
}
@keyframes cookieBannerSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.cookie-consent-banner p {
  color: var(--primary);
  font-size: 1.03rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin: 0 10px 0 0;
  flex: 1;
}
.cookie-banner-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 24px;
  border: 1.3px solid var(--gold);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color .14s;
  outline: none;
  margin: 0;
  background: #fffdfa;
  color: var(--primary);
}
.cookie-btn.accept {
  background: var(--gold);
  color: var(--primary);
  border: 1.5px solid var(--gold);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--primary);
  color: #fff;
  border-color: var(--gold);
}
.cookie-btn.reject {
  background: #fff;
  border: 1.3px solid #e6e2c6;
  color: #bda253;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #f4eeda;
  color: #937c38;
  border-color: #bda253;
}
.cookie-btn.settings {
  background: transparent;
  border: 1.3px solid var(--accent);
  color: var(--accent);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #eaf6ee;
  color: #1f6c3c;
  border-color: var(--accent);
}

@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 8vw 20px 8vw;
  }
  .cookie-banner-actions {
    gap: 8px;
  }
}

/* ---- Cookie Preferences Modal ---- */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 12001;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 48px 0 rgba(24,32,55,0.23), 0 1px 0 #e8eaef;
  padding: 38px 30px 32px 30px;
  min-width: 330px;
  min-height: 320px;
  max-width: 90vw;
  max-height: 96vh;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  animation: cookieModalSlideIn 0.33s cubic-bezier(.73,.19,.58,.95);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@keyframes cookieModalSlideIn {
  from { transform: translate(-50%, 15%) scale(.8); opacity: 0; }
  to   { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.08rem;
}
.cookie-category label {
  font-weight: 500;
}
.cookie-category input[type=checkbox]:not([disabled]) {
  accent-color: var(--gold);
  width: 20px;
  height: 20px;
  border-radius: 5px;
}
.cookie-category input[disabled] {
  accent-color: #d1c6a2;
  opacity: 0.6;
}
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  font-size: 1rem;
}

/* Overlay for modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(24,32,55,0.3);
  z-index: 12000;
  animation: modalOverlayIn 0.23s;
}
@keyframes modalOverlayIn {
  from { opacity: 0; } to { opacity: 1; }
}

@media (max-width: 520px) {
  .cookie-modal { min-width: 230px; padding: 24px 7vw; }
}

/* ---- Responsive Layout Adjustments ---- */
@media (max-width: 600px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 32px;
  }
  .address-block { padding: 12px 8px; }
  .feature-grid { gap: 8px; }
  .card-container { gap: 12px; }
}

/* ---- Utility & Micro-interactions ---- */
body {scroll-behavior: smooth;}
section:target { animation: targetPulse 0.65s; }
@keyframes targetPulse {
  0%{ box-shadow: 0 0 0 0 #bda25330; }
  100%{ box-shadow: 0 0 0 40px transparent; }
}

*[tabindex="0"]:focus,
*:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

::-webkit-scrollbar { width: 9px; background: #fcfbf7; }
::-webkit-scrollbar-thumb { background: #e3d8b6; border-radius: 4px; }

/* ---- Luxury touches ---- */
.section,
.card, .feature-item, .testimonial-card {
  box-shadow: 0 2px 18px 0 rgba(24,32,55,.03), 0 1.5px 0 var(--gold) inset;
}

/* ---- Hide visually but keep accessible ---- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---- Print Styles ---- */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal, .cookie-modal-overlay { display: none !important; }
  main { padding: 0 !important; }
}

/* ---- End CSS ---- */
