/* ==== 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;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background: #181d23;
  color: #E6E9F0;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
img {
  max-width: 100%;
  display: block;
}
input, button, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
}
button { cursor: pointer; background: none; border: none; padding: 0; }

/* ===== BRAND / INDUSTRIAL MODERN VARIABLES ===== */
:root {
  --color-primary: #223f6e;
  --color-primary-dark: #152645;
  --color-secondary: #E6E9F0;
  --color-secondary-dark: #23282e;
  --color-accent: #0EB49D;
  --color-accent-dark: #0B8F7D;
  --color-metal: #97A2B7;
  --color-bg: #181d23;
  --color-card: #222631;
  --color-card-border: #383f49;
  --color-light: #FFFFFF;
  --color-shadow: rgba(24, 29, 35, 0.22);
  --font-display: 'Montserrat', 'Arial Black', 'Arial', sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* ===== TYPOGRAPHY SCALE ===== */
h1, .h1 {
  font-size: 2.4rem;
  font-family: var(--font-display);
  color: var(--color-light);
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  line-height: 1.1;
  text-shadow: 0 4px 28px rgba(17, 21, 23, 0.2);
}
h2, .h2 {
  font-size: 2rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-metal);
  margin-bottom: 20px;
  letter-spacing: 1px;
  line-height: 1.18;
}
h3, .h3 {
  font-size: 1.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 12px;
  letter-spacing: 0.15em;
  line-height: 1.2;
}
h4, .h4 {
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.12em;
}
p, li {
  font-family: var(--font-body);
  color: var(--color-secondary);
  font-size: 1rem;
  margin-bottom: 10px;
}
.subheadline {
  font-size: 1.31rem;
  color: var(--color-metal);
  margin-bottom: 26px;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.48;
}
strong { font-weight: 700; color: var(--color-accent); }

/* ===== LAYOUT CONTAINERS & FLEXBOX ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 22px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.section:last-child {
  margin-bottom: 0;
}

/* ===== HEADER ===== */
header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, rgba(24,29,35,1) 75%, var(--color-primary) 120%);
  padding: 0 24px;
  min-height: 74px;
  border-bottom: 1.5px solid var(--color-card-border);
  position: relative;
  z-index: 100;
}
header a img {
  height: 42px;
  width: auto;
}
header nav {
  display: flex;
  gap: 28px;
  margin: 0 28px;
}
header nav a {
  font-family: var(--font-display);
  color: var(--color-metal);
  font-size: 1rem;
  letter-spacing: 0.06em;
  font-weight: 600;
  transition: color 0.14s, text-shadow 0.14s;
  position: relative;
}
header nav a:hover,
header nav a:focus {
  color: var(--color-accent);
  text-shadow: 0 2px 12px rgba(11, 143, 125, 0.18);
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-dark);
  color: var(--color-light);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 32px;
  border: none;
  box-shadow: 0 4px 18px var(--color-shadow);
  transition: background 0.18s, transform 0.13s, box-shadow 0.19s;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-left: 16px;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-accent);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px var(--color-shadow);
}
.mobile-menu-toggle {
  display: none;
  color: var(--color-light);
  background: var(--color-card);
  border-radius: 8px;
  font-size: 2.1rem;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-card-border);
  margin-left: 14px;
  transition: background 0.15s, border 0.15s;
  z-index: 120;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-primary-dark);
  border-color: var(--color-accent-dark);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(29,34,41,0.98);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  transform: translateX(-100vw);
  z-index: 1999;
  box-shadow: 4px 0 28px 0 rgba(0,0,0,0.19);
  padding: 0 0 42px 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  color: var(--color-accent);
  background: transparent;
  border: none;
  font-size: 2rem;
  margin: 28px 26px 18px 0;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  margin-top: 20px;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: var(--color-secondary);
  font-size: 1.45rem;
  padding: 14px 0;
  border-radius: 7px;
  width: 90%;
  text-align: center;
  transition: background 0.11s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-metal);
  color: var(--color-bg);
}

/* ==== HERO SECTION ==== */
.hero {
  background: linear-gradient(110deg, #20262d 70%, var(--color-primary-dark) 100%);
  padding: 74px 0 52px 0;
  border-bottom: 1.5px solid var(--color-card-border);
  box-shadow: 0 8px 40px rgba(24,29,35, 0.10);
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

/* ===== FEATURE/CARD LAYOUTS (MANDATORY PATTERNS) ===== */
.feature-grid, .feature-list, .card-container, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div, .card {
  background: var(--color-card);
  border: 1.5px solid var(--color-card-border);
  border-radius: 18px;
  box-shadow: 1px 2px 11px 0 var(--color-shadow);
  padding: 28px 20px 24px 24px;
  min-width: 240px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, border 0.15s, transform 0.13s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position: relative;
}
.feature-grid > div:hover, .card:hover {
  box-shadow: 0 8px 40px var(--color-shadow);
  border-color: var(--color-accent);
  transform: translateY(-2px) scale(1.01);
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}

.text-section {
  background: var(--color-card);
  border-radius: 11px;
  padding: 22px 18px;
  margin-bottom: 20px;
  font-size: 1.06rem;
  box-shadow: 0 4px 20px var(--color-shadow);
  border-left: 5px solid var(--color-accent-dark);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.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: 16px;
  padding: 20px;
  background: var(--color-secondary);
  color: #24262b;
  border-radius: 15px;
  box-shadow: 0 2px 18px 0 rgba(17,21,23,0.13);
  border: 1.5px solid #d7dae4;
  font-size: 1.07rem;
  margin-bottom: 20px;
  min-width: 230px;
  max-width: 540px;
  transition: box-shadow 0.14s, border 0.13s;
}
.testimonial-card p { color: #23282e; font-size: 1.05rem; font-style: italic;  }
.testimonial-card span {
  color: var(--color-primary-dark);
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.testimonial-card:hover {
  box-shadow: 0 6px 38px 0 rgba(14,180,157,0.12);
  border-color: var(--color-accent-dark);
}

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

/* ===== PRICING LABELS ===== */
.preis {
  display: inline-block;
  font-size: 1.09rem;
  color: var(--color-accent);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 11px;
  border-radius: 6px;
  background: rgba(14,180,157,0.07);
  padding: 7px 15px;
}

/* ===== BUTTONS GENERAL ===== */
button:not(.cta-btn), .button, .cookie-btn {
  border-radius: 8px;
  background: var(--color-metal);
  color: var(--color-card);
  border: none;
  padding: 10px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin: 0 8px 0 0;
  transition: background 0.13s, color 0.13s, box-shadow 0.13s;
  box-shadow: 0 2px 14px 0 rgba(40,49,62,0.10);
}
button:not(.cta-btn):hover, button:not(.cta-btn):focus, .button:hover, .cookie-btn:hover {
  background: var(--color-accent);
  color: var(--color-light);
}

/* ===== LISTS & LINKS IN TEXT-SECTION ===== */
.text-section ul li, .content-wrapper ul li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--color-secondary);
  padding-left: 18px;
  position: relative;
}
.text-section ul li:before, .content-wrapper ul li:before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--color-accent-dark);
  border-radius: 1px;
  margin-right: 9px;
  margin-left: -17px;
  margin-bottom: 2px;
  vertical-align: middle;
}

a {
  transition: color 0.14s, border-bottom 0.11s;
  border-bottom: 1.5px dotted transparent;
}
a:hover, a:focus {
  color: var(--color-accent-dark);
  border-bottom: 1.5px solid var(--color-accent);
}
footer nav a {
  border: none;
}

/* ===== FOOTER ===== */
footer {
  background: var(--color-card);
  border-top: 2px solid var(--color-card-border);
  color: var(--color-metal);
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.04em;
  padding: 28px 0 22px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer nav {
  display: flex;
  gap: 28px;
  margin-bottom: 8px;
}
footer nav a {
  color: var(--color-metal);
  font-weight: 500;
  transition: color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-accent);
}
footer > div {
  margin-top: 5px;
  font-size: 0.98rem;
  color: var(--color-metal);
}

/* ======= COOKIE BANNER & MODAL ======= */
.cookie-banner {
  position: fixed;
  z-index: 20000;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--color-card);
  color: var(--color-secondary);
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -4px 26px 0 rgba(34,63,110,0.15);
  border-top: 2px solid var(--color-card-border);
  animation: cookie-slide-in 0.5s cubic-bezier(.77,0,.18,1) 1;
  font-size: 1rem;
}
.cookie-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
}
.cookie-buttons {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
.cookie-btn {
  background: var(--color-metal);
  color: var(--color-card);
  border-radius: 7px;
  font-size: 1rem;
  padding: 10px 18px;
  font-family: var(--font-display);
  font-weight: 600;
  transition: background 0.14s, color 0.13s;
}
.cookie-btn.accept {
  background: var(--color-accent-dark);
  color: var(--color-light);
}
.cookie-btn.reject {
  background: #403a47;
  color: var(--color-metal);
}
.cookie-btn.settings {
  background: var(--color-primary);
  color: var(--color-secondary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-accent);
  color: var(--color-light);
}

@keyframes cookie-slide-in {
  from { transform: translateY(120px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-modal-backdrop {
  position: fixed;
  z-index: 21000;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(29,34,41,0.80);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  animation: fadein 0.25s cubic-bezier(.45,0,.24,1);
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--color-card);
  width: 95vw;
  max-width: 420px;
  border-radius: 13px;
  padding: 32px 24px;
  box-shadow: 0 8px 32px 0 var(--color-shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 21100;
  animation: popup-modal 0.28s cubic-bezier(.77,0,.18,1);
}
@keyframes popup-modal {
  from { transform: translateY(44px) scale(0.91); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.19rem;
  color: var(--color-accent);
  font-family: var(--font-display);
  margin-bottom: 7px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
  font-size: 1rem;
  color: var(--color-metal);
  font-family: var(--font-body);
}
.cookie-modal .cookie-category {
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--color-primary);
}
.cookie-modal .cookie-switch {
  width: 40px;
  height: 22px;
  background: #2b3240;
  border-radius: 15px;
  position: relative;
  transition: background 0.15s;
}
.cookie-modal .cookie-switch[data-checked="true"] {
  background: var(--color-accent-dark);
}
.cookie-modal .cookie-switch-slider {
  content: '';
  position: absolute;
  left: 3px;
  top: 4px;
  width: 15px;
  height: 15px;
  background: var(--color-secondary);
  border-radius: 10px;
  box-shadow: 0 1px 4px 0 rgba(20,30,50,0.14);
  transition: left 0.17s;
}
.cookie-modal .cookie-switch[data-checked="true"] .cookie-switch-slider {
  left: 22px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 15px;
  right: 17px;
  background: none;
  color: var(--color-accent);
  border: none;
  font-size: 1.8rem;
  z-index: 21200;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal .close-modal:hover { color: var(--color-primary); }

/* ====== RESPONSIVE DESIGN (MOBILE-FIRST) ====== */
@media (max-width: 1100px) {
  .container { max-width: 950px; }
  .feature-grid > div { flex: 1 1 250px; }
}
@media (max-width: 900px) {
  .container { max-width: 800px; }
  .feature-grid, .content-grid, .card-container { gap: 16px; }
  .feature-grid > div { flex: 1 1 200px; min-width: 180px; }
  header nav { gap: 18px; margin: 0 10px; }
  .cta-btn { padding: 10px 18px; font-size: 0.95rem; }
}
@media (max-width: 768px) {
  header {
    padding: 0 10px;
    min-height: 62px;
  }
  header nav {
    display: none;
  }
  .cta-btn { display: none; }
  .mobile-menu-toggle {
    display: flex;
  }
  .container { padding-left: 10px; padding-right: 10px; }
  .content-wrapper { gap: 22px; }
  .hero {
    padding: 52px 0 34px 0;
    min-height: 180px;
  }
  .feature-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .feature-grid > div, .card {
    min-width: unset;
    width: 100%;
    max-width: unset;
  }
  .testimonial-card { width: 100%; max-width: unset; }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
  .text-section { padding: 13px 8px; margin-bottom: 13px; }
  .section { margin-bottom: 34px; padding: 20px 6px; }
}
@media (max-width: 550px) {
  h1, .h1 { font-size: 1.6rem; }
  h2, .h2 { font-size: 1.18rem; }
  .subheadline { font-size: 1.01rem; }
  .feature-grid>div, .card { padding: 15px 7px 13px 11px; }
}
@media (max-width: 420px) {
  .cookie-modal { max-width: 99vw; padding: 14px 7px; }
}
/* ===== UTILITIES ===== */
.d-none { display: none !important; }
.d-flex { display: flex !important; }
.align-center { align-items: center !important; }
.flex-col { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }

/* ===== MICRO-INTERACTIONS & TRANSITIONS ===== */
.card,
.feature-grid > div,
.cta-btn,
.testimonial-card,
button,
.cookie-btn {
  transition-property: background, color, box-shadow, border, transform;
  transition-duration: 0.16s;
  transition-timing-function: cubic-bezier(.77,0,.18,1);
}

/* ===== CUSTOM SCROLLBAR ===== */
body::-webkit-scrollbar {
  width: 11px;
  background: var(--color-card-border);
}
body::-webkit-scrollbar-thumb {
  background: var(--color-primary-dark);
  border-radius: 5px;
}
body::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-dark);
}

/* ===== FOCUS VISIBLE ===== */
:focus-visible {
  outline: 2px solid var(--color-accent-dark);
  outline-offset: 2px;
}

/* ===== NO CSS GRID OR COLUMNS! FLEX ONLY! ===== */
