/* ========================== */
/* 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  background: #fff;
  color: #181818;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #14567A;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #C16D00;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  margin-left: 1.6em;
}
strong, b {
  font-weight: 600;
}
input, select, textarea, button {
  font-family: inherit;
  font-size: 100%;
  outline: none;
}

/* =============================== */
/* MONOCHROME SOPHISTICATED PALETTE*/
/* =============================== */
:root {
  --brand-primary: #14567A;
  --brand-secondary: #FFF;
  --brand-accent: #C16D00;
  --mono-black: #181818;
  --mono-charcoal: #232323;
  --mono-grey-1: #2F2F2F;
  --mono-grey-2: #555;
  --mono-grey-3: #A5A5A5;
  --mono-grey-4: #E6E6E6;
  --mono-grey-5: #F5F5F5;
  --section-bg: #FFF;
  --card-bg: #FAFAFA;
  --card-border: #E0E0E0;
  --shadow-main: 0 2px 12px rgba(24,24,24,0.06);
  --shadow-card: 0 1px 4px rgba(24,24,24,0.11);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* ========================== */
/* TYPOGRAPHY                */
/* ========================== */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1.13;
  font-weight: 700;
  color: var(--mono-black);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--mono-black);
  letter-spacing: -0.01em;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--mono-grey-1);
}
h4, .h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--mono-grey-2);
}
p, li, dl, dd {
  font-size: 1rem;
  color: var(--mono-charcoal);
}
p, ul, ol, dl {
  margin-bottom: 18px;
}
.text-section {
  max-width: 670px;
}

/* Emphasis (accent) text */
em {
  color: var(--mono-grey-2);
  font-style: italic;
}
blockquote {
  border-left: 4px solid var(--mono-grey-3);
  color: var(--mono-black);
  padding-left: 20px;
  font-style: italic;
  margin: 0 0 16px 0;
}

/* =============================== */
/* CONTAINER & GENERAL LAYOUT      */
/* =============================== */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.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;
}

.section {
  background: var(--section-bg);
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 24px;
  box-shadow: var(--shadow-main);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  transition: transform .17s, box-shadow .22s;
  position: relative;
}
.card:hover, .card:focus {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 4px 16px rgba(24,24,24,0.08);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 24px;
  gap: 12px;
}

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

/* Trust icons inside card/container */
.trust-icons {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 12px;
}
.trust-icons img {
  width: 40px;
  height: 40px;
  filter: grayscale(1) contrast(1.6);
  opacity: 0.75;
}

/* ================================ */
/* HEADER & NAV                     */
/* ================================ */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1.25px solid var(--mono-grey-4);
  box-shadow: 0 2px 12px rgba(19,19,19,0.06);
  position: relative;
  z-index: 50;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 32px;
  width: 100%;
}
.header-flex nav {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
header img {
  height: 42px;
}

header nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--mono-grey-1);
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.18s, color 0.22s;
}
header nav a:hover, header nav a:focus {
  color: var(--brand-primary);
  background: var(--mono-grey-5);
}

/* Primary Call-to-Action */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--mono-black);
  color: var(--brand-secondary);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  padding: 0.75em 2em;
  border: none;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(24,24,24,0.08);
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.14s, transform .13s;
  position: relative;
  letter-spacing: 0.01em;
  outline: none;
  margin-left: 24px;
}
.btn-primary:focus, .btn-primary:hover {
  background: var(--brand-primary);
  color: #fff;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 2px 16px rgba(20,86,122,0.08);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: var(--mono-black);
  font-family: var(--font-display);
  font-size: 1.03rem;
  font-weight: 600;
  padding: 0.7em 2em;
  border: 1.5px solid var(--mono-black);
  border-radius: 40px;
  box-shadow: none;
  cursor: pointer;
  transition: border 0.16s, background 0.14s, color 0.12s;
  margin-left: 20px;
  outline: none;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--brand-secondary);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

/* ========================== */
/* MOBILE MENU (burger)       */
/* ========================== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 24px;
  width: 52px;
  height: 52px;
  z-index: 101;
  background: #fff;
  border: 2px solid var(--mono-black);
  border-radius: 12px;
  color: var(--mono-black);
  font-size: 2.1rem;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: box-shadow 0.2s, border 0.2s, background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  border-color: var(--brand-primary);
  box-shadow: 0 2px 12px rgba(20, 86, 122, 0.14);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  height: 100dvh;
  width: 100vw;
  background: rgba(20, 20, 20, 0.98);
  color: #fff;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateX(100vw);
  transition: transform 0.35s cubic-bezier(.57,.17,.35,1.01);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 24px 0 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  transition: color .16s;
  z-index: 1210;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--brand-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin: 30px 48px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  padding: 10px 0;
  transition: color 0.15s, background 0.12s, border-radius 0.12s;
  border-radius: 8px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--brand-accent);
  background: rgba(255,255,255,0.09);
}

/* Add smooth fade in for menu links */
.mobile-menu.open .mobile-nav a {
  animation: mobileMenuLinksFadeIn .3s ease 
    forwards;
}
@keyframes mobileMenuLinksFadeIn {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: none; }
}

/* Hide main nav on mobile */
@media (max-width: 1023px) {
  .header-flex nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header img {
    height: 38px;
  }
}

/* =============== */
/* SECTIONS, CARDS */
/* =============== */
section {
  margin-bottom: 60px;
  padding: 40px 0 20px 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: var(--shadow-main);
  border-radius: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  border-radius: 18px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  transition: box-shadow .15s, transform .1s;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 18px rgba(24,24,24,0.11);
  transform: translateY(-3px) scale(1.02);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 24px;
  gap: 12px;
}

/* ================================ */
/* BUTTONS & LINKS                  */
/* ================================ */
.btn-primary, .btn-secondary {
  user-select: none;
  white-space: nowrap;
}
.btn-primary:active, .btn-secondary:active {
  transform: translateY(1px) scale(0.98);
}

/* ========================== */
/* TESTIMONIALS               */
/* ========================== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border: 1.5px solid var(--mono-grey-4);
  border-radius: 16px;
  box-shadow: 0 1px 10px rgba(24,24,24,0.06);
  margin-bottom: 20px;
  max-width: 730px;
  color: #181818;
  transition: box-shadow .15s, border .12s;
}
.testimonial-card blockquote {
  color: #181818;
  margin-bottom: 0;
  font-size: 1.15em;
  border-left: 4px solid var(--brand-primary);
  background: none;
}
.testimonial-card span {
  color: var(--mono-grey-2);
  font-size: 1rem;
  font-style: italic;
  margin-left: 10px;
}
.testimonial-card:hover {
  border-color: var(--brand-primary);
  box-shadow: 0 2px 24px rgba(14,64,86,0.09);
}

/* ================================ */
/* FOOTER                          */
/* ================================ */
footer {
  background: var(--mono-black);
  color: #fff;
  padding: 56px 0 24px 0;
  width: 100%;
  border-top: 3px solid var(--brand-primary);
  box-shadow: 0 -2px 20px rgba(0,0,0,0.05);
  font-size: 1rem;
}
.footer-flex {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-flex > * {
  margin-bottom: 16px;
}
footer img {
  width: 44px;
  height: 44px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer nav a {
  color: var(--mono-grey-3);
  font-family: var(--font-display);
  font-size: 1rem;
  transition: color 0.17s;
}
footer nav a:hover {
  color: var(--brand-accent);
}
.footer-contact {
  color: var(--mono-grey-4);
  font-size: 1rem;
}
.footer-contact p {
  margin-bottom: 4px;
}


/* ================================ */
/* OL, UL & LIST STYLE              */
/* ================================ */
ul, ol {
  padding-left: 24px;
  margin-bottom: 20px;
  color: var(--mono-grey-2);
  font-size: 1rem;
}
ul li, ol li {
  margin-bottom: 12px;
  line-height: 1.7;
  position: relative;
}
ul li::marker {
  color: var(--mono-grey-3);
}
ol li {
  list-style-type: decimal;
}

/* Service price pill in service list */
.service-price {
  background: var(--mono-grey-5);
  color: var(--brand-primary);
  padding: 2px 12px;
  border-radius: 11px;
  font-size: 0.97em;
  margin-left: 6px;
  font-weight: 600;
}

/* ================================ */
/* DL STYLE (Kontakt page address)   */
/* ================================ */
dl, dd, dt {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--mono-grey-1);
}
dl dt {
  font-weight: 600;
  margin-top: 12px;
}
dl dd {
  margin-left: 18px;
}

/* ================================ */
/* RESPONSIVE DESIGN                */
/* ================================ */
@media (max-width: 1023px) {
  .footer-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 2rem; margin-bottom: 14px; }
  h2, .h2 { font-size: 1.35rem; margin-bottom: 12px; }
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  .section, section {
    padding: 32px 6px 16px 6px;
    margin-bottom: 38px;
    border-radius: 13px;
  }
  .footer-flex { gap: 12px; }
  .card-content {
    padding: 16px 11px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 7px;
    border-radius: 11px;
  }
  .content-wrapper {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
  }
  .card-container, .content-grid {
    gap: 12px;
  }
  .text-image-section { flex-direction: column; gap: 18px; }
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
    margin-left: 0;
    margin-bottom: 10px;
  }
}

/* Ensure proper spacing/alignment of all content wrappers/cells */
@media (max-width: 540px) {
  h1, .h1 { font-size: 1.25rem; }
  h2, .h2 { font-size: 1.02rem; }
  .footer-flex { flex-direction: column; gap: 8px; }
}

/* ================================ */
/* COOKIE CONSENT BANNER             */
/* ================================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 2020;
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #181818;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 24px 46px 18px 42px;
  box-shadow: 0 -2px 18px rgba(24,24,24,0.09);
  justify-content: space-between;
  gap: 22px;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.34s, opacity 0.23s;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  margin-right: 34px;
  font-size: 1.06em;
  color: #fff;
  max-width: 510px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  padding: 8px 24px;
  border-radius: 22px;
  border: none;
  background: #fff;
  color: var(--mono-black);
  cursor: pointer;
  margin-left: 0;
  transition: background 0.14s, color 0.16s, box-shadow .19s;
}
.cookie-btn.accept {
  background: var(--brand-primary);
  color: #fff;
  font-weight: 700;
}
.cookie-btn.accept:hover {
  background: var(--brand-accent);
  color: #fff;
  box-shadow: 0 3px 14px rgba(193,109,0,0.09);
}
.cookie-btn.settings {
  background: #fff;
  color: var(--mono-black);
  border: 1.5px solid var(--mono-grey-3);
}
.cookie-btn.settings:hover {
  background: var(--mono-grey-5);
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}
.cookie-btn.reject {
  background: var(--mono-grey-4);
  color: var(--mono-black);
  border: none;
}
.cookie-btn.reject:hover {
  background: var(--mono-black);
  color: #fff;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 6px 18px 6px;
    gap: 13px;
  }
  .cookie-banner__text {
    margin-right: 0;
    max-width: 100%;
  }
  .cookie-banner__actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: stretch;
  }
}

/* ============= COOKIE MODAL ============= */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 2050;
  background: rgba(24,24,24,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity .36s;
  pointer-events: auto;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal__dialog {
  background: #fff;
  color: #181818;
  border-radius: 18px;
  box-shadow: 0 7px 44px rgba(24,24,24,0.27);
  padding: 40px 34px 32px 34px;
  min-width: 320px;
  max-width: 97vw;
  width: 410px;
  display: flex;
  flex-direction: column;
  gap: 23px;
  font-family: var(--font-body);
  font-size: 1.1rem;
  position: relative;
  animation: cookieModalIn .33s cubic-bezier(.63,-0.1,.44,1.14);
}
@keyframes cookieModalIn {
  0% { opacity:0;transform:scale(.92) translateY(28px);}
  100% {opacity:1;transform:scale(1) translateY(0);}
}
.cookie-modal__close {
  position: absolute;
  top: 14px;
  right: 19px;
  border: none;
  background: none;
  color: #222;
  font-size: 2.1rem;
  cursor: pointer;
  z-index: 2052;
  transition: color 0.17s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: var(--brand-accent);
}
.cookie-prefs-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-prefs-label {
  font-weight: 600;
  color: var(--mono-black);
  margin-right: 7px;
  display: inline-block;
}
.cookie-prefs-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: var(--mono-grey-4);
  border-radius: 999px;
  position: relative;
  outline: none;
  vertical-align: middle;
  cursor: pointer;
  transition: background 0.18s;
  margin-left: 6px;
}
.cookie-prefs-toggle:checked {
  background: var(--brand-primary);
}
.cookie-prefs-toggle:disabled {
  background: var(--mono-grey-4);
  opacity: 0.42;
  cursor: not-allowed;
}
.cookie-prefs-toggle::after {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px; left: 3px;
  box-shadow: 0 1px 2px rgba(24,24,24, 0.14);
  transition: left 0.21s;
}
.cookie-prefs-toggle:checked::after {
  left: 17px;
}

@media (max-width: 640px) {
  .cookie-modal__dialog {
    padding: 22px 7px 16px 7px;
    min-width: 0;
    width: 99vw;
  }
}

/* ===================== */
/* MICRO-INTERACTIONS    */
/* ===================== */
::-webkit-scrollbar {
  width: 12px;
  background: var(--mono-grey-5);
}
::-webkit-scrollbar-thumb {
  background: var(--mono-grey-4);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--mono-grey-3);
}

/* ======================= */
/* UTILITY & ACCESSIBILITY */
/* ======================= */
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; border: 0 !important; }

/* Critical: NO grid or columns used. All responsiveness is achieved via flex only! */