/* --- 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, 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;
  font-size: 16px;
  height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #111;
  background: #fff;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
table {
  border-collapse: collapse;
  width: 100%;
}

/* --- MONOCHROME SOPHISTICATED PALETTE --- */
:root {
  --color-bg: #fff;
  --color-bg-alt: #f9f9f9;
  --color-bg-dark: #15181b;
  --color-text: #191b21;
  --color-headline: #111;
  --color-subhead: #444;
  --color-accent: #F6B700;
  --color-primary: #222427;
  --color-secondary: #f3f3f5;
  --color-outline: #dedede;
  --color-card: #fbfbfc;
  --color-shadow: rgba(18,19,20,0.06);
  --color-overlay: rgba(25,25,25,0.92);
  --color-link-hover: #222;
  --color-btn-bg: #111;
  --color-btn-text: #fff;
  --color-btn-hover-bg: #191b21;
  --color-border: #e5e7eb;
  --color-cookie-bg: #15181b;
  --color-cookie-text: #fff;
  --color-cookie-btn: #fff;
  --color-cookie-btn-bg: #222427;
  --color-cookie-btn-hover: #F6B700;
}

/* --- TYPOGRAPHY --- */
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem; /* 16px */
  color: var(--color-text);
  background: var(--color-bg);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--color-headline);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: #000;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
p, ul, ol, table {
  font-size: 1rem;
  color: var(--color-text);
}
p.subheadline {
  font-weight: 400;
  font-size: 1.125rem;
  color: var(--color-subhead);
  margin-bottom: 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
strong {
  color: #111;
  font-weight: 700;
}

/* --- BASIC LAYOUT CONTAINERS --- */
.container {
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 900px) {
  .section {
    padding: 32px 10px;
    margin-bottom: 40px;
  }
}
@media (max-width: 600px) {
  .section {
    padding: 20px 4vw;
    margin-bottom: 24px;
  }
}

/* --- HEADER / NAVIGATION --- */
header {
  background: var(--color-bg);
  box-shadow: 0 2px 12px var(--color-shadow);
  z-index: 50;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 16px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 36px;
}
header nav ul {
  display: flex;
  flex-direction: row;
  gap: 24px;
}
header nav ul li {
  display: flex;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--color-headline);
  font-size: 1rem;
  position: relative;
  transition: color 0.2s;
  padding: 4px 2px;
}
header nav a:hover,
header nav a:focus {
  color: var(--color-accent);
  outline: none;
}
.cta-button {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: var(--color-btn-bg);
  color: var(--color-btn-text);
  font-weight: 700;
  border-radius: 28px;
  padding: 12px 32px;
  font-size: 1.125rem;
  margin-left: 24px;
  box-shadow: 0 3px 20px rgba(0,0,0,0.06);
  border: none;
  cursor: pointer;
  transition: background 0.18s cubic-bezier(.38,1.6,.66,1), color 0.18s cubic-bezier(.38,1.6,.66,1), box-shadow 0.24s;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-accent);
  color: var(--color-btn-bg);
  box-shadow: 0 6px 32px rgba(0,0,0,0.13);
  outline: none;
}
.mobile-menu-toggle {
  display: none;
  background: var(--color-btn-bg);
  color: var(--color-btn-text);
  border: none;
  border-radius: 6px;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 20px;
  transition: background 0.2s;
  z-index: 103;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-accent);
  color: var(--color-btn-bg);
}
@media (max-width: 1100px) {
  header nav ul {
    gap: 16px;
  }
  .cta-button {
    margin-left: 10px;
    padding: 10px 18px;
    font-size: 1rem;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
}
@media (max-width: 800px) {
  header nav ul {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-overlay);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.48,1.4,.55,1);
  width: 100vw;
  height: 100vh;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  margin: 18px 24px 10px 0;
  background: transparent;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-accent);
  color: var(--color-btn-bg);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 0;
  padding: 0 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 500;
  padding: 14px 0;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  transition: color 0.18s;
  outline: none;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--color-accent);
}
@media (min-width: 801px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- MAIN/LAYOUT STYLES --- */
.section {
  background: var(--color-bg);
  border-radius: 24px;
  box-shadow: 0 1px 8px var(--color-shadow);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-grid, .features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.features-grid > div {
  background: var(--color-card);
  border-radius: 18px;
  box-shadow: 0 2px 13px var(--color-shadow);
  padding: 32px 24px 28px 24px;
  flex: 1 0 300px;
  min-width: 270px;
  max-width: 378px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.15s;
  position: relative;
}
.features-grid > div:hover {
  box-shadow: 0 10px 32px rgba(0,0,0,0.14);
  transform: translateY(-2px) scale(1.018);
}
.features-grid img {
  width: 40px;
  height: 40px;
}
.service-price {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-accent);
  background: var(--color-bg);
  border-radius: 6px;
  padding: 4px 14px;
  box-shadow: 0 1px 2px rgba(25,25,25,0.04);
  margin-top: 10px;
}

@media (max-width: 950px) {
  .features-grid, .content-grid {
    gap: 14px;
  }
  .features-grid > div {
    min-width: 210px;
    padding: 20px 13px 18px 13px;
  }
}
@media (max-width: 600px) {
  .features-grid, .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .features-grid > div {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
}

.text-section {
  margin-bottom: 26px;
}
.text-section ul {
  margin-top: 10px;
  margin-left: 18px;
}
.text-section li {
  margin-bottom: 10px;
  padding-left: 6px;
}
.text-section h3 {
  margin-top: 18px;
  margin-bottom: 10px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* --- TABLES (LEISTUNGEN) --- */
table {
  width: 100%;
  border-spacing: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-card);
  box-shadow: 0 1px 8px var(--color-shadow);
  margin: 28px 0 22px 0;
}
thead {
  background: var(--color-bg-alt);
}
th, td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--color-outline);
  font-size: 1rem;
  text-align: left;
}
th {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-headline);
}
tr:last-child td {
  border-bottom: none;
}

/* --- CARDS, CASE STUDIES, BLOG --- */
.card, .blog-item, .case-study-block {
  background: var(--color-card);
  border-radius: 16px;
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px 22px 20px;
  box-shadow: 0 1px 8px var(--color-shadow);
  transition: box-shadow 0.19s, transform 0.16s;
}
.card:hover, .blog-item:hover, .case-study-block:hover {
  box-shadow: 0 10px 35px rgba(0,0,0,0.16);
  transform: translateY(-2px);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
@media (max-width: 650px) {
  .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .card, .blog-item, .case-study-block {
    padding: 16px 10px;
  }
}
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.blog-item {
  flex: 1 0 270px;
  min-width: 235px;
  max-width: 380px;
}

/* --- TESTIMONIALS --- */
.testimonials-slider, .testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  margin-top: 12px;
}
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px var(--color-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 22px;
  min-width: 240px;
  max-width: 400px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, border-color 0.15s;
  border: 1.5px solid var(--color-outline);
}
.testimonial-card p {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  color: #222;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--color-subhead);
  font-style: italic;
}
.testimonial-card:hover {
  box-shadow: 0 12px 30px 0 rgba(0,0,0,0.16);
  border-color: var(--color-accent);
}
@media (max-width: 600px) {
  .testimonials-slider, .testimonials-list {
    flex-direction: column;
    gap: 12px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 16px 8px;
  }
}

/* --- FOOTER --- */
footer {
  margin-top: 70px;
  background: var(--color-bg-dark);
  color: #fff;
  padding: 0;
}
footer .container {
  padding-top: 40px;
  padding-bottom: 20px;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  padding-bottom: 22px;
}
.footer-brand img {
  height: 44px;
  margin-bottom: 4px;
  filter: grayscale(1);
}
.footer-nav, .footer-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  font-size: 1rem;
  gap: 12px;
  color: #d9e0e9;
  margin-bottom: 6px;
}
.footer-nav a, .footer-links a {
  color: #d9e0e9;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-links a:hover {
  color: var(--color-accent);
}
.social-profiles {
  display: flex;
  gap: 16px;
  align-items: center;
}
.social-profiles a img {
  height: 30px;
  width: 30px;
  filter: grayscale(1) brightness(160%) contrast(100%);
  transition: filter 0.16s;
}
.social-profiles a:hover img {
  filter: grayscale(0) brightness(108%) contrast(130%) drop-shadow(0 1px 4px #fff3);
}
.footer-copy {
  padding-top: 18px;
  margin-top: 0;
  font-size: 0.95rem;
  color: #bac5d2;
  text-align: center;
}
@media (max-width: 820px) {
  .footer-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-brand img {
    height: 38px;
  }
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: var(--color-cookie-bg);
  color: var(--color-cookie-text);
  padding: 18px 24px;
  box-shadow: 0 -2px 20px rgba(25,25,25,0.19);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  width: 100%;
  font-size: 1.08rem;
  animation: fadeInUp 0.33s ease;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-banner-msg {
  flex: 1 1 auto;
}
.cookie-banner .cookie-banner-btns {
  display: flex;
  gap: 18px;
}
.cookie-btn {
  background: var(--color-cookie-btn-bg);
  color: var(--color-cookie-btn);
  border: none;
  padding: 9px 24px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  margin-left: 0;
  outline: none;
}
.cookie-btn.accept {
  background: var(--color-accent);
  color: var(--color-btn-bg);
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff4;
}
.cookie-btn.reject {
  background: #222;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:active, .cookie-btn:focus {
  background: var(--color-cookie-btn-hover);
  color: #111;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    font-size: 1rem;
    padding: 14px 10px 20px 10px;
  }
  .cookie-banner .cookie-banner-btns {
    gap: 10px;
    flex-direction: row;
  }
  .cookie-btn {
    padding: 8px 12px;
    font-size: 1rem;
  }
}

.cookie-modal-backdrop {
  background: rgba(0, 0, 0, 0.78);
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10030;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #191b21;
  min-width: 300px;
  max-width: 98vw;
  width: 430px;
  border-radius: 13px;
  box-shadow: 0 16px 80px 0 rgba(51,51,51,0.19);
  padding: 33px 30px 26px 30px;
  animation: fadeInDown 0.34s cubic-bezier(.48,1.4,.55,1);
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 20px 0 18px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
}
.cookie-category-label {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  margin-left: 8px;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: var(--color-outline);
  border-radius: 99px;
  transition: background .21s;
}
.toggle-switch input:checked + .toggle-slider {
  background: var(--color-accent);
}
.toggle-slider:before {
  position: absolute;
  content: '';
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 2px #8889;
  transition: transform .22s;
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(18px);
}
.cookie-modal-close {
  position: absolute;
  right: 15px;
  top: 13px;
  background: transparent;
  border: none;
  font-size: 1.25rem;
  color: #111;
  cursor: pointer;
  z-index: 35;
  border-radius: 6px;
  transition: background 0.13s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #f3f3f5;
}

@media (max-width: 500px) {
  .cookie-modal {
    width: 100vw;
    padding: 18px 8px 12px 8px;
    min-width: 0;
    border-radius: 8px;
  }
}

/* --- FORMS (Kontakt) --- */
form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
input, textarea, select {
  padding: 10px 14px;
  font-size: 1rem;
  border: 1px solid var(--color-outline);
  border-radius: 8px;
  background: var(--color-bg-alt);
  color: var(--color-text);
  transition: border 0.16s, box-shadow 0.16s;
  resize: vertical;
  font-family: inherit;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--color-accent);
  box-shadow: 0 0 0 2px #ffe17044;
}
label {
  font-size: 1rem;
  color: var(--color-headline);
  margin-bottom: 3px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* --- SPACING: CARDS/SECTIONS --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- VISUAL EFFECTS & MICROINTERACTIONS --- */
a, .cta-button, button {
  transition: color 0.16s, background 0.15s, box-shadow 0.18s, border-color 0.15s;
}
.card, .features-grid > div, .blog-item, .case-study-block, .testimonial-card {
  transition: box-shadow 0.17s, border-color 0.13s, transform 0.14s;
}
::-webkit-scrollbar {
  width: 7px;
  background: var(--color-bg-alt);
}
::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 8px;
}

/* --- UTILITIES --- */
.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mt-0 { margin-top: 0 !important; }
.mt-16 { margin-top: 16px !important; }

/* --- RESPONSIVE SCALING --- */
@media (max-width: 1000px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.15rem; }
}
@media (max-width: 700px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.15rem; }
}

/* --- SELECTABLE, ACCESSIBILITY --- */
a, button, .cta-button {
  outline: none;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* --- END --- */
