/* =====================
   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,
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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #111;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
imag {
  border: none;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s;
}

/* =========================
   MONOCHROME SOPHISTICATED
   ========================= */
:root {
  --color-bg: #fff;
  --color-bg-alt: #f8f8fa;
  --color-on-bg: #111;
  --color-on-bg-light: #222;
  --color-muted: #888;
  --color-primary: #191919;
  --color-secondary: #ececec;
  --color-accent: #222;
  --color-grey-100: #f4f4f6;
  --color-grey-200: #dfdfdf;
  --color-grey-900: #191919;
  --color-shadow: rgba(40,40,40,0.07);
  --color-shadow-strong: rgba(40,40,40,0.20);
  --color-link: #111;
  --color-link-hover: #254062;
  --brand-dark: #191919;
  --brand-light: #f7f7f9;
  --brand-grey: #333;
  --brand-offwhite: #f4f4f6;
  --header-height: 72px;
  --radius: 12px;
  --radius-lg: 20px;
  --btn-radius: 22px;
  --transition: 0.22s cubic-bezier(.39,.575,.565,1);
  --shadow-small: 0 1.5px 8px 0 var(--color-shadow);
  --shadow: 0 8px 24px 0 var(--color-shadow-strong);
}

/* Brand font stacks */
body,
.text-section,
ul, ol, p, a, span {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--color-on-bg);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}
h1 {
  font-size: 2.6rem;
  line-height: 1.1;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.16rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
    margin-bottom: 18px;
  }
  h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }
}

.subheadline {
  color: var(--color-muted);
  font-size: 1.18rem;
  line-height: 1.4;
  margin-bottom: 18px;
  font-weight: 400;
}

strong {
  color: var(--color-primary);
  font-weight: 700;
}
em {
  font-style: italic;
  color: var(--color-muted);
}

/* =============
   LAYOUT & SPACING
   ============= */
.container {
  width: 100%;
  max-width: 1160px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg);
  border-radius: var(--radius);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow-small);
  position: relative;
  padding: 28px 24px;
  min-width: 220px;
  flex: 1 1 250px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.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: 1024px) {
  .content-grid,
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 32px;
    padding: 28px 10px;
  }
  .card, .testimonial-card {
    padding: 18px 12px;
    min-width: 140px;
  }
  .content-wrapper {
    gap: 18px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
ul, ol {
  padding-left: 22px;
  color: var(--color-on-bg-light);
  margin-bottom: 1em;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
li {
  font-size: 1rem;
  margin-bottom: 2px;
  color: var(--color-on-bg-light);
}

/* ==================
   HEADER / NAVIGATION
   ================== */
header {
  background: var(--brand-light);
  border-bottom: 1px solid var(--color-grey-200);
  box-shadow: 0 6px 18px -6px var(--color-shadow-strong);
  padding: 0;
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-height);
}
.logo-link {
  display: flex;
  align-items: center;
  height: 52px;
  margin-right: 26px;
}
.logo-link img {
  height: 42px;
  width: auto;
  display: block;
}
nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
nav a {
  color: var(--color-link);
  font-weight: 500;
  font-size: 1.05em;
  padding: 4px 7px;
  border-radius: 6px;
  transition: color 0.18s, background 0.19s;
  position: relative;
}
nav a:hover, nav a:focus {
  color: var(--color-link-hover);
  background: var(--color-grey-100);
  outline: none;
}
.header .btn {
  margin-left: 20px;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  padding: 12px 36px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  border: none;
  border-radius: var(--btn-radius);
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 1.5px 8px 0 var(--color-shadow);
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-align: center;
  margin: 0 0 0 18px;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: #222;
  color: var(--color-secondary);
  box-shadow: 0 8px 16px 0 var(--color-shadow-strong);
  transform: translateY(-2px) scale(1.04);
  outline: none;
}

.btn {
  display: inline-block;
  font-family: inherit;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  cursor: pointer;
  margin-left: 24px;
  z-index: 101;
  transition: color var(--transition), transform var(--transition);
}
.mobile-menu-toggle:focus {
  outline: 2px dashed var(--color-link-hover);
}

/* ==========
   MOBILE NAV
   ========== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 8px 0 28px 0 var(--color-shadow-strong);
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform .36s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--color-on-bg);
  margin: 30px 26px 10px 0;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
  width: 100%;
  margin-top: 20px;
  padding: 0 42px;
}
.mobile-nav a {
  font-size: 1.17em;
  color: #222;
  padding: 18px 0 8px 0;
  border-radius: 0;
  border-bottom: 1px solid var(--color-grey-200);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color .17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-link-hover);
  background: none;
}

@media (max-width: 992px) {
  header nav {
    display: none;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 993px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* ===========
   MAIN/MEDIA IMAGES
   =========== */
img, picture, video, svg {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}
[alt] {
  font-style: italic;
}

/* =============
   HERO/SECTION
   ============= */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
section .container {
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  section {
    margin-bottom: 32px;
    padding: 22px 0;
  }
}

/* =====
   CARDS
   ===== */
.card, .testimonial-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 12px 36px 0 var(--color-shadow-strong);
  transform: translateY(-3px) scale(1.018);
}

.testimonial-card {
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  box-shadow: 0 4px 48px 0 var(--color-shadow-strong);
  border: 1.5px solid var(--color-grey-200);
  color: #1a1a1a;
  font-size: 1.075rem;
  padding: 26px 22px;
  margin-bottom: 32px;
  min-width: 200px;
}
.testimonial-card p {
  font-size: 1.12em;
  color: #1a1a1a;
  font-family: 'Roboto', Arial, sans-serif;
  font-style: italic;
  margin-bottom: 6px;
}
.testimonial-card span {
  font-size: 0.99em;
  color: #888;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
}
.testimonial-card div {
  color: #141414;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.27em;
}

/* ============
   FOOTER
   ============ */
footer {
  background: var(--brand-light);
  border-top: 1.5px solid var(--color-grey-200);
  padding: 32px 0 1.5em 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
footer nav a {
  color: var(--color-muted);
  font-size: 0.99em;
  transition: color 0.17s;
  padding: 5px;
  border-radius: 6px;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-link-hover);
  outline: none;
}
footer .text-section {
  font-size: 0.98em;
  color: var(--color-grey-900);
  text-align: center;
}

/* ==============
   LINKS & BUTTONS
   ==============
*/
.btn,
button,
input[type="button"],
input[type="submit"] {
  border: none;
  border-radius: var(--btn-radius);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  outline: none;
}
.btn:active, button:active {
  transform: scale(0.97);
}

a.btn {
  display: inline-block;
}

/* ==============
   FORMS (for kontakt etc)
   ==============
*/
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--color-on-bg);
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  border: 1.5px solid var(--color-grey-200);
  padding: 13px 16px;
  margin-bottom: 13px;
  width: 100%;
  font-size: 1em;
  transition: border-color .15s, box-shadow .17s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-link-hover);
  outline: none;
  box-shadow: 0 2px 10px 0 var(--color-shadow);
}
label {
  display: block;
  margin-bottom: 7px;
  font-weight: 600;
  color: var(--color-primary);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}

/* ==============
   MICRO-INTERACTIONS & HOVERS
   ==============
*/
.btn,.btn-primary,nav a,footer nav a {
  transition: background .22s, color .17s, box-shadow .19s, transform .21s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 18px 44px -5px var(--color-shadow-strong);
  transform: translateY(-2px) scale(1.012);
}

@media (hover: hover) {
  .btn-primary:hover, .btn-primary:focus {
    background: #111;
    color: var(--color-secondary);
    box-shadow: 0 8px 32px 0 var(--color-shadow-strong);
  }
}

/* ===============
   Cookie Consent
   =============== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 1000;
  background: #fafafc;
  color: #111;
  padding: 24px 20px 18px 20px;
  box-shadow: 0 -3px 36px 0 var(--color-shadow-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px);
  transition: opacity .22s, transform .29s;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.cookie-banner .cookie-text {
  font-size: 1.08em;
  color: #222;
  flex: 1 1 260px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
.cookie-banner button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1em;
  padding: 9px 22px;
  border-radius: var(--btn-radius);
  border: none;
  background: #191919;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  transition: background .18s, color .16s, transform .18s;
  box-shadow: 0 2px 10px 0 var(--color-shadow);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #254062;
  color: #fff;
  transform: translateY(-1px);
}
.cookie-banner .btn-cookie-settings {
  background: #fff;
  color: #111;
  border: 1.2px solid var(--color-grey-200);
  margin-left: 8px;
}
.cookie-banner .btn-cookie-settings:hover {
  background: var(--color-grey-200);
  color: #222;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
    padding: 18px 6px 12px 6px;
    font-size: 1em;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    width: 100%;
  }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 3000;
  background: rgba(20,20,20,.39);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .21s;
}
.cookie-modal.visible {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 38px 32px 30px 32px;
  max-width: 420px;
  width: 95vw;
  box-shadow: 0 8px 48px 0 var(--color-shadow-strong);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: fadeInModal .32s cubic-bezier(.39,.575,.565,1);
}
@keyframes fadeInModal {
  from {
    transform: translateY(70px) scale(0.97);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
.cookie-modal .cookie-modal-content h2 {
  font-size: 1.22rem;
  color: #191919;
  margin-bottom: 11px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}
.cookie-modal .cookie-category label {
  margin: 0;
  font-weight: 500;
  color: #222;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: #191919;
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal .btn-cookie-save {
  background: #191919;
  color: #fff;
  border-radius: var(--btn-radius);
  padding: 9px 22px;
  font-size: 1em;
  cursor: pointer;
  font-weight: 600;
}
.cookie-modal .btn-cookie-cancel {
  background: #fff;
  color: #191919;
  border-radius: var(--btn-radius);
  border: 1.2px solid var(--color-grey-200);
  padding: 9px 18px;
  font-size: 1em;
  cursor: pointer;
  font-weight: 500;
  margin-left: 8px;
}
.cookie-modal .btn-cookie-save:hover {
  background: #254062;
}
.cookie-modal .btn-cookie-cancel:hover {
  background: var(--color-grey-200);
  color: #111;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 18px;
  top: 11px;
  background: transparent;
  border: none;
  color: #535353;
  font-size: 1.5em;
  cursor: pointer;
}

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

/* ============
   MEDIA QUERIES
   ============ */
@media (max-width: 600px) {
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  .card, .testimonial-card {
    padding: 13px 5px;
    min-width: 90px;
  }
}

/* ============== 
   ACCESSIBLE OUTLINES
   ============== */
:focus {
  outline: 2px dashed #254062;
  outline-offset: 2px;
}

/* ============== 
   ICONS INSIDE CARDS, FEATURES
   ============== */
ul li > img,
.feature-item > img {
  width: 28px;
  height: 28px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 9px;
  border-radius: 0;
}

/* ================
   Misc Accessibility
   ================ */
[role="button"] {
  cursor: pointer;
}
@media (pointer: coarse) {
  .btn, button, .mobile-nav a {
    touch-action: manipulation;
  }
}

/* ===============
   PRINT STYLE BASIC
   =============== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #222 !important;
  }
}

/* ===============
   END STYLES
   =============== */
