/* 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,
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 {
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #FAFAFA;
  color: #181818;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after { box-sizing: inherit; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
ul, ol { margin-left: 24px; }

/* VARIABLE FONT DECLARATION & FALLBACKS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

:root {
  --color-bg-main: #FAFAFA;
  --color-bg-dark: #181818;
  --color-bg-section: #fff;
  --color-primary: #181818; /* Always monochrome, override brand green */
  --color-secondary: #585858;
  --color-accent: #FFD700; /* For details only */
  --color-link: #181818;
  --color-link-hover: #181818;
  --color-border: #E1E1E1;
  --color-shadow: rgba(0,0,0,.06);
  --color-card-shadow: rgba(0,0,0,0.10);
  --container-width: 1220px;
  --radius-s: 10px;
  --radius-m: 18px;
  --transition-fast: 0.18s cubic-bezier(.5,0,.3,1);
  --transition-slow: 0.38s cubic-bezier(.5,0,.3,1);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* LAYOUT BASE */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

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

/* TYPOGRAPHY */
h1, .hero h1, section.hero h1 {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: #181818;
  margin-bottom: 12px;
  line-height: 1.2;
  text-shadow: 0 2px 8px #0002;
}
h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: #181818;
  margin-bottom: 8px;
  line-height: 1.25;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: #181818;
  margin-bottom: 7px;
}
p, ul, li, strong, em {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #313131;
  margin-bottom: 0.6em;
  line-height: 1.6;
}
.tagline {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  font-size: 1.08rem;
  font-weight: 400;
  color: #A7A7A7;
  margin-bottom: 8px;
}
ul:not(.main-nav):not(.footer-nav) li,
ol:not(.main-nav):not(.footer-nav) li {
  margin-bottom: 7px;
  font-size: 1rem;
}
strong {
  font-weight: bold;
  color: #181818;
}
em { font-style: italic; }

/* NAVIGATION GLOBAL */
header {
  background: var(--color-bg-main);
  box-shadow: 0 2px 12px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  gap: 0;
  height: 76px;
  justify-content: space-between;
}
header a img {
  height: 48px;
  width: auto;
  margin-right: 20px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  padding: 5px 12px;
  color: #181818;
  border-radius: var(--radius-s);
  transition: background .2s, color .2s;
  position: relative;
}
.main-nav a:hover:not(.btn-primary) {
  background: #111;
  color: #FFF;
}

.btn-primary {
  background: #181818;
  color: #fff !important;
  font-family: var(--font-display);
  border: none;
  padding: 10px 30px;
  font-size: 1.05rem;
  border-radius: 28px;
  font-weight: 600;
  margin-left: 8px;
  cursor: pointer;
  box-shadow: 0 2px 12px var(--color-shadow);
  transition: background var(--transition-fast), color var(--transition-fast),box-shadow var(--transition-fast);
  position: relative;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #313131;
  box-shadow: 0 4px 32px var(--color-card-shadow);
  color: #FFD700 !important;
}
.btn-secondary {
  background: #fff;
  color: #181818;
  font-family: var(--font-display);
  border: 1.5px solid #181818;
  padding: 10px 28px;
  font-size: 1.01rem;
  border-radius: 28px;
  font-weight: 500;
  margin-top: 12px;
  cursor: pointer;
  box-shadow: 0 2px 10px var(--color-shadow);
  transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #181818;
  color: #fff;
  border-color: #181818;
  box-shadow: 0 4px 18px var(--color-card-shadow);
}
button, .mobile-menu-toggle, .mobile-menu-close {
  font-family: var(--font-body);
  outline: none;
  border: none;
  background: none;
  cursor: pointer;
  appearance: none;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: #181818;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  position: relative;
  padding: 0;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
  z-index: 95;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #313131;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: #181818F0;
  z-index: 110;
  padding: 0;
  flex-direction: column;
  align-items: flex-start;
  transition: transform .38s cubic-bezier(.3,0,.3,1);
  transform: translateX(100%);
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
  animation: slideInMenu .38s cubic-bezier(.3,0,.3,1);
}
@keyframes slideInMenu {
  0% { transform: translateX(100%); }
  100% { transform: translateX(0); }
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 32px 32px 0 0;
  background: none;
  color: #fff;
  font-size: 2.2rem;
  border-radius: 14px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fff2;
  color: #FFD700;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin: 36px 0 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 7px;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #313131;
  color: #FFD700;
}
.mobile-nav a:last-child {
  margin-bottom: 20px;
}

/* HERO SECTION */
.hero {
  background: #fff;
  box-shadow: 0 6px 42px var(--color-shadow);
  border-bottom: 1.5px solid #EDEDED;
  padding: 50px 0 66px 0;
  margin-bottom: 44px;
}
.hero .content-wrapper {
  gap: 16px;
  align-items: flex-start;
}
.hero p {
  font-size: 1.12rem;
  font-family: var(--font-body);
  color: #313131;
  margin-bottom: 0;
}

/* FLEX GRIDS & LISTS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin: 16px 0 0 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F7F7F8;
  box-shadow: 0 2px 12px var(--color-shadow);
  border-radius: var(--radius-s);
  padding: 28px 20px 20px 20px;
  min-width: 215px;
  flex: 1 1 230px;
  margin-bottom: 20px;
  border: 1.5px solid #EBEBEB;
  transition: box-shadow var(--transition-fast), transform .13s;
}
.feature-item:hover {
  box-shadow: 0 6px 28px rgba(30,30,30,.18);
  transform: translateY(-2px) scale(1.015);
}
.feature-item h3 {
  margin-top: 3px;
  margin-bottom: 2px;
}
.feature-item img {
  width: 40px; height: 40px;
  margin-bottom: 6px;
  filter: grayscale(1) contrast(120%);
}
.feature-list, .workshop-list, .service-list, .benefit-list, .case-study-list {
  margin-top: 18px;
  margin-bottom: 0px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 1rem;
}
.project-highlights ul, .impact-metrics ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 1rem;
}
.feature-icons {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 18px 0 0 0;
}
.feature-icons img { width: 56px; height: 56px; filter: grayscale(1); }

/* CARD CONTAINERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: 0 2px 12px var(--color-card-shadow);
  border-radius: var(--radius-s);
  margin-bottom: 20px;
  padding: 28px 18px;
  position: relative;
  border: 1.5px solid #ECECEC;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 22px 0 22px 0;
}
.service-card {
  background: #F9F9F9;
  box-shadow: 0 2px 10px var(--color-shadow);
  border-radius: var(--radius-s);
  padding: 22px 20px 20px 20px;
  margin-bottom: 20px;
  flex: 1 1 260px;
  min-width: 235px;
  border: 1.3px solid #EBEBEB;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: box-shadow var(--transition-fast), transform .13s;
}
.service-card:hover {
  box-shadow: 0 6px 22px rgba(0,0,0,0.11);
  transform: translateY(-1.5px) scale(1.01);
}

/* PRICING TABLES */
.pricing-table {
  width: 100%;
  margin: 32px 0;
  border-collapse: collapse;
  background: #fff;
  border: 1.5px solid #E2E2E2;
  border-radius: var(--radius-s);
  overflow: hidden;
  font-size: 1rem;
  box-shadow: 0 2px 10px var(--color-shadow);
}
.pricing-table th,
.pricing-table td {
  padding: 15px 25px;
  border-bottom: 1px solid #ECECEC;
  text-align: left;
}
.pricing-table thead tr {
  background: #F2F2F3;
  color: #181818;
  font-weight: 700;
  font-family: var(--font-display);
}
.pricing-table tbody tr:last-child td { border-bottom: none; }

/* FLEX TOOLS */
.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: 10px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  color: #181818;
  border-radius: var(--radius-s);
  box-shadow: 0 2px 16px var(--color-shadow);
  border-left: 6px solid #181818;
  transition: box-shadow .18s;
  max-width: 520px;
}
.testimonial-card p {
  font-size: 1.08rem;
  font-family: var(--font-body);
  color: #1B1B1B;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 0.93rem;
  color: #636363;
  font-style: italic;
  letter-spacing: 0.01em;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(24,24,24,0.16);
}

/* TABLES (GENERIC) */
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
}
th, td { font-family: var(--font-body); }
th { font-weight: bold; color: #181818; }
td { color: #252525; }

/* QUOTES */
blockquote {
  border-left: 5px solid #222;
  background: #F7F7F7;
  margin: 22px 0;
  padding: 16px 18px;
  font-style: italic;
  color: #1B1B1B;
  border-radius: var(--radius-s);
  font-size: 1.08rem;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 0;
}

/* MAP (Kontakt) */
.map-embed {
  margin-top: 22px;
  background: #F5F6F7;
  padding: 24px 18px;
  border-radius: var(--radius-s);
  box-shadow: 0 2px 12px var(--color-shadow);
  border: 1.2px solid #EBEBEB;
  font-size: 1rem;
  color: #181818;
}

/* FOOTER */
footer {
  background: #181818;
  color: #f9f9f9;
  padding: 36px 0 13px 0;
  margin-top: 80px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
footer nav.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  margin-bottom: 6px;
  justify-content: center;
}
footer nav.footer-nav a {
  color: #D0D2D7;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  padding: 4px 14px;
  border-radius: 24px;
  transition: background var(--transition-fast), color var(--transition-fast);
}
footer nav.footer-nav a:hover {
  background: #fff;
  color: #181818;
}
footer p { color: #B2B2B2; font-size: .99rem; margin-bottom: 0; }

/* CONFIRMATION PAGE */
.confirmation {
  margin-bottom: 92px;
  padding: 60px 20px 60px 20px;
  background: #fff;
  border-radius: var(--radius-m);
  box-shadow: 0 6px 42px var(--color-shadow);
  min-height: 420px;
  display: flex;
  align-items: center;
}
.confirmation h1 {
  color: #181818;
  margin-bottom: 18px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #181818;
  color: #fff;
  padding: 30px 16px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1500;
  box-shadow: 0 -4px 32px #0006;
  gap: 18px;
  animation: cookieSlideIn .4s cubic-bezier(.5,0,.3,1);
}
@keyframes cookieSlideIn {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p { color: #fff; font-size: 1rem; margin-bottom: 9px; }
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 10px;
}
.cookie-btn {
  background: #fff;
  color: #181818;
  border: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  padding: 9px 24px;
  border-radius: 22px;
  margin: 0 4px;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .16s;
  box-shadow: 0 1px 7px #0001;
}
.cookie-btn:hover, .cookie-btn:focus {
  color: #FFD700;
  background: #222;
}
.cookie-btn.secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
}
.cookie-btn.secondary:hover {
  background: #FFD700;
  color: #181818;
}

/* COOKIE MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: #181818A5;
  z-index: 1600;
  align-items: center;
  justify-content: center;
}
.cookie-modal.active {
  display: flex;
  animation: cookieModalIn .22s cubic-bezier(.5,0,.3,1);
}
@keyframes cookieModalIn { 0%{ opacity:0; transform: scale(.95);} 100%{opacity:1; transform: scale(1);} }
.cookie-modal-content {
  background: #fff;
  color: #181818;
  min-width: 315px;
  max-width: 390px;
  border-radius: var(--radius-m);
  box-shadow: 0 8px 42px #0003;
  padding: 40px 34px 32px 34px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}
.cookie-modal-content h2 {
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-size: 1rem;
  color: #252525;
}
.cookie-category input[type="checkbox"] {
  width: 22px; height: 22px;
  accent-color: #181818;
  cursor: pointer;
}
.cookie-modal-close {
  position: absolute;
  top: 24px;
  right: 30px;
  background: none;
  color: #181818;
  font-size: 1.7rem;
  border: none;
  cursor: pointer;
  transition: color .2s;
}
.cookie-modal-close:hover { color: #FFD700; }
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 17px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container { max-width: 920px; }
  .feature-item, .service-card { min-width: 180px; }
}
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  .feature-grid, .service-list {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  html { font-size: 97%; }
  .container { padding-left: 9px; padding-right: 9px; }
  header .container {
    padding:0 7px;
    height: 62px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .section {
    padding: 28px 4px;
    margin-bottom: 38px;
  }
  .feature-grid, .service-list {
    flex-direction: column;
    gap: 19px;
    align-items: stretch;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
  }
  .card, .service-card, .feature-item {
    min-width: 0;
    width: 100%;
  }
}
@media (max-width: 512px) {
  .container { padding-left: 0; padding-right: 0; }
  .hero { padding: 36px 0 36px 0; }
  .section { padding: 18px 2px; }
  h1, .hero h1 { font-size: 1.25rem; }
  h2 { font-size: 1.07rem; }
  footer nav.footer-nav { gap: 11px; flex-wrap: wrap; }
  .feature-icons { gap: 17px; }
}

/* ANIMATIONS, HOVER & INTERACTIONS */
a, button, .btn-primary, .btn-secondary, .service-card, .feature-item, .testimonial-card {
  transition: box-shadow .14s, color .2s, background .2s, transform .12s;
}
a:active, button:active { transform: scale(.98); }
a:focus, button:focus {
  outline: 2px dashed #FFD700;
  outline-offset: 2px;
  z-index: 1;
}
.btn-primary:active, .btn-secondary:active {
  box-shadow: 0 2px 10px #0002;
  transform: scale(.99);
}

/* Hide cookie modal by default for accessibility */
[hidden] { display: none !important; }

/* IMPROVE LISTS IN CARDS & FEATURES */
.service-list ul, .feature-list ul { margin-left: 18px; }
ul li::marker, ol li::marker {
  color: #C5C5C5;
}

/* MISC. */
::-webkit-scrollbar { width: 12px; background: #ececec; }
::-webkit-scrollbar-thumb { background: #bcbcbc; border-radius: 6px; }

/* BRAND ACCENT - used sparingly */
.accent { color: #FFD700; }

/* For better focus outline contrast on dark backgrounds */
.mobile-menu .mobile-nav a:focus { outline: 2px dashed #FFD700; }

/* Fix overlapping on mobile on top bars */
.mobile-menu, .cookie-banner, .cookie-modal { z-index: 9999; }

/* ACCESSIBILITY: visually hidden */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* END */
