/* =====================================================
   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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #fff;
  color: #191919;
}
ol, ul {
  list-style: disc inside;
}
a {
  color: inherit;
  text-decoration: none;
  background: transparent;
  transition: color 0.18s cubic-bezier(.4,0,.2,1);
}
img, svg {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
[tabindex]:focus-visible {
  outline: #191919 solid 2px;
  outline-offset: 2px;
}

/* =====================================================
   Variables (brand) / Fallbacks for compatibility
   ===================================================== */
:root {
  --color-bg: #fff;
  --color-text: #191919;
  --color-contrast-bg: #191919;
  --color-contrast-text: #fff;
  --color-primary: #222629;
  --color-secondary: #545454;
  --color-accent: #E8F0F8;
  --color-border: #d6d6d6;
  --color-card-bg: #fcfcfc;
  --color-card-border: #e1e1e1;
  --color-brand-blue: #184C7D;
  --color-brand-accent: #F3AA60;
  --shadow-1: 0 2px 12px rgba(0,0,0,0.06);
  --radius: 14px;
  --transition: all 0.23s cubic-bezier(.57,.13,.45,.94);
  --font-display: 'Montserrat', 'Arial', sans-serif;
  --font-body: 'Roboto', 'Arial', sans-serif;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* =====================================================
   Typography
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: #181818;
  margin-bottom: 0.35em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.14;
  margin-bottom: 12px;
}
h2 {
  font-size: 2rem;
  line-height: 1.18;
  margin-bottom: 10px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: #222629;
}
h4, h5, h6 {
  font-size: 1.05rem;
  font-weight: 500;
  color: #222629;
}
.subheadline {
  font-size: 1.18rem;
  color: #464646;
  font-weight: 400;
  margin-bottom: 6px;
  font-family: var(--font-body);
}
p, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #232323;
  line-height: 1.7;
}
ul li + li, ol li + li {
  margin-top: 8px;
}
blockquote {
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.5;
  color: #202020;
  border-left: 4px solid #222629;
  margin-left: 0;
  padding-left: 14px;
  margin-bottom: 0.2em;
  font-style: italic;
}
strong {
  font-weight: 600;
  color: #191919;
}

.hr {
  width: 60px;
  height: 3px;
  margin: 30px 0 24px;
  background: #232323;
  border: 0;
  border-radius: 3px;
}

/* =====================================================
   Navigation & Header
   ===================================================== */
header {
  background: #181818;
  color: var(--color-contrast-text);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 18px;
  position: relative;
}
header img {
  height: 38px;
  width: auto;
  margin-right: 14px;
  display: block;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  font-family: var(--font-display);
}
header nav a {
  color: var(--color-contrast-text);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 2px 8px;
  border-radius: 6px;
  transition: background .17s, color .17s;
  opacity: 0.95;
}
header nav a:hover, header nav a:focus-visible {
  background: var(--color-contrast-text);
  color: var(--color-contrast-bg);
  opacity: 1;
}
.cta-btn {
  background: #fcfcfc;
  color: #191919;
  border: 1.5px solid #e1e1e1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 26px;
  border-radius: 22px;
  margin-left: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: var(--transition);
  text-align: center;
  display: inline-block;
  cursor: pointer;
  outline: none;
  letter-spacing: 0.02em;
}
.cta-btn:hover, .cta-btn:focus-visible {
  color: #fff;
  background: #181818;
  border-color: #232323;
  box-shadow: 0 4px 16px rgba(0,0,0,0.09);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: #222629;
  color: #fff;
  border-radius: 8px;
  font-size: 2rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  z-index: 102;
  border: none;
  position: absolute;
  right: 18px;
  top: 15px;
  transition: background .20s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus-visible {
  background: #191919;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #181818;
  z-index: 2000;
  padding: 0 0 26px 0;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.77,0,.18,1);
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  margin: 24px 26px 5px 0;
  font-weight: 400;
  cursor: pointer;
  transition: color .18s;
  z-index: 2010;
}
.mobile-menu-close:focus-visible, .mobile-menu-close:hover {
  color: #F3AA60;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 38px;
  font-family: var(--font-display);
}
.mobile-nav a {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 7px;
  opacity: 0.93;
  border-radius: 6px;
  padding: 9px 8px 9px 0;
  width: 100%;
  transition: background .2s, color .15s, opacity .15s;
}
.mobile-nav a:focus-visible, .mobile-nav a:hover {
  background: #fcfcfc;
  color: #191919;
  opacity: 1;
}

/* Hamburger behaviour: hide nav on mobile, show burger */
@media (max-width: 950px) {
  header nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 600px) {
  header .container {
    padding: 0 7px;
  }
}
/* Container / Layout override */
@media (max-width: 600px) {
  .container {
    padding: 0 8px;
  }
}

/* =====================================================
   Hero / Sections / Layout
   ===================================================== */
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: transparent;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
/* Feature Item - monochrome sophisticated cards */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-card-bg);
  border: 1.2px solid var(--color-card-border);
  border-radius: var(--radius);
  box-shadow: 0 2px 32px rgba(30,30,30,0.07);
  padding: 30px 24px 26px 24px;
  min-width: 170px;
  max-width: 292px;
  flex: 1 1 210px;
  margin-bottom: 20px;
  transition: box-shadow .17s, border-color .18s, background .18s;
}
.feature-item img {
  height: 38px;
  width: 38px;
  margin-bottom: 5px;
  display: block;
  filter: grayscale(1) contrast(1.2);
}
.feature-item h3 {
  font-size: 1.17rem;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 3px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 4px 38px rgba(20,20,24,0.095);
  border-color: #191919;
  background: #f9f9fa;
}

/* Cards List */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #f7f7f7;
  border: 1.2px solid #e1e1e1;
  box-shadow: 0 2px 22px rgba(12,12,12,0.06);
  border-radius: var(--radius);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 22px;
  justify-content: center;
  width: 100%;
  max-width: 380px;
  transition: box-shadow .2s, border-color .16s, background .15s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 38px rgba(30,30,30,0.10);
  border-color: #191919;
  background: #f3f3f3;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.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: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* Testimonials cards: monochrome, readable on all backgrounds */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: #f5f5f5;
  border-radius: 11px;
  box-shadow: 0 2px 12px rgba(90,90,90,0.065);
  border: 1.2px solid #dddddd;
  margin-bottom: 20px;
  color: #191919;
  max-width: 650px;
  font-family: var(--font-body);
  transition: box-shadow .2s, border-color .14s, background .11s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  background: #fff;
  border-color: #222629;
  box-shadow: 0 4px 38px rgba(23,23,23,0.09);
}
.testimonial-card blockquote {
  border: none;
  color: #181818;
  font-size: 1.07rem;
  background: transparent;
  padding-left: 0;
}
.testimonial-card p {
  color: #2e2e2e;
  margin-left: 16px;
  font-size: 0.99rem;
}

/* Contact Details (footer, kontakt) */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1rem;
  color: #232323;
}
.contact-details img {
  vertical-align: middle;
  margin-right: 8px;
  width: 22px;
  height: 22px;
  opacity: 0.8;
  filter: grayscale(1) brightness(0.40);
}

.directions ul, .address-block, .directions {
  margin-bottom: 16px;
  color: #272727;
}
.address-block p {
  margin-bottom: 10px;
}

/* Footer */
footer {
  background: #191919;
  color: #f5f5f5;
  font-family: var(--font-body);
  font-size: 0.99rem;
}
footer div {
  color: white !important;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 0 18px 0;
  border-bottom: 1px solid #232323;
  gap: 12px;
}
.footer-top img {
  width: 38px;
  height: auto;
  margin-right: 18px;
}
.footer-top nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.footer-top nav a {
  color: #f5f5f5;
  font-family: var(--font-display);
  padding: 2px 7px;
  font-weight: 500;
  border-radius: 5px;
  font-size: 1rem;
  transition: background .17s, color .17s;
}
.footer-top nav a:hover, .footer-top nav a:focus-visible {
  color: #222629;
  background: #f5f5f5;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 0 10px 0;
}
.copyright {
  font-size: 0.92rem;
  opacity: 0.6;
  align-self: flex-end;
}

/* Lists and blocks */
ul, ol {
  margin-left: 18px;
  margin-bottom: 15px;
  color: #272727;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #232323;
}
@media (max-width: 635px) {
  .footer-top, .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 0 10px 0;
  }
}

/* Misc. Utility / Alignment */
@media (max-width: 850px) {
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature-item, .card {
    max-width: 100%;
    min-width: 0;
  }
}

/* Responsive Sections */
@media (max-width: 900px) {
  section, .section {
    padding: 30px 0;
  }
  .content-wrapper {
    gap: 18px;
  }
}
@media (max-width: 660px) {
  h1 {font-size: 1.55rem;}
  h2 {font-size: 1.26rem;}
  h3 {font-size: 1.11rem;}
  .subheadline { font-size: 1.01rem; }
  section, .section {
    padding: 22px 0 22px 0;
  }
  .feature-item, .card {
    padding: 18px 10px 17px 10px;
    font-size: 0.94rem;
  }
  .testimonial-card {
    padding: 12px 8px;
    font-size: 0.95rem;
  }
}

/* =====================================================
   Button Styles
   ===================================================== */
button, .button, .cta-btn {
  font-family: var(--font-display);
  outline: none;
}
.button, .cta-btn {
  background: #fff;
  color: #181818;
  border: 1.5px solid #d0d0d0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.01);
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 22px;
  transition: var(--transition);
  cursor: pointer;
  display: inline-block;
}
.button:hover, .cta-btn:hover, .button:focus-visible, .cta-btn:focus-visible {
  background: #181818;
  color: #fff;
  border-color: #232323;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.button.button-secondary {
  background: #eaeaea;
  color: #181818;
  border: 1.2px solid #bdbdbd;
}
.button.button-secondary:hover, .button.button-secondary:focus-visible {
  background: #232323;
  color: #fff;
  border-color: #232323;
}
.button.button-textonly {
  background: transparent;
  color: #191919;
  border: none;
  box-shadow: none;
  padding: 9px 15px;
  text-decoration: underline;
}
.button.button-textonly:hover, .button.button-textonly:focus-visible {
  background: #f3f3f3;
}

/* =====================================================
   Cookie Consent Banner / Modal
   ===================================================== */
.cookie-banner {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 4000;
  background: #222629;
  color: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 38px rgba(20,20,20,0.14);
  padding: 24px 20px 20px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 1rem;
  font-family: var(--font-body);
  animation: fadein 0.42s cubic-bezier(.4,0,.2,1);
}
.cookie-banner-text {
  flex: 2 1 220px;
  color: #fff;
  font-size: 1rem;
}
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-banner .button {
  min-width: 110px;
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: 18px;
  background: #fff;
  color: #191919;
  border: 1.3px solid #f3f3f3;
  transition: background .14s, color .14s, border .14s;
}
.cookie-banner .button:hover, .cookie-banner .button:focus-visible {
  background: #191919;
  color: #fff;
  border-color: #f3f3f3;
}
.cookie-banner .button.button-secondary {
  background: #e8e8e8;
  color: #222629;
  border-color: #dddddd;
}
.cookie-banner .button.button-secondary:hover, .cookie-banner .button.button-secondary:focus-visible {
  background: #252525;
  color: #fff;
  border-color: #bbbbbb;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    padding: 16px 8px 16px 10px;
    text-align: left;
    align-items: flex-start;
    gap: 16px;
  }
  .cookie-banner-actions {
    align-items: flex-end;
  }
}

/* Animations */
@keyframes fadein {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: none; }
}
@keyframes modalin {
  from { opacity: 0; transform: scale(0.93); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes modalout {
  from { opacity: 1; transform: scale(1); }
  to   { opacity: 0; transform: scale(0.97); }
}

/* Cookie Modal (category settings) */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 4100;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,35,35,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein 0.3s;
}
.cookie-modal {
  background: #fff;
  color: #181818;
  border-radius: 16px;
  box-shadow: 0 8px 52px rgba(30,30,30,0.16);
  max-width: 400px;
  width: 95vw;
  padding: 38px 26px 28px 26px;
  font-family: var(--font-body);
  animation: modalin 0.32s;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.36rem;
  font-family: var(--font-display);
  margin-bottom: 14px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #ececec;
}
.cookie-modal-category:last-child {
  border-bottom: none;
}
.cookie-modal-category label {
  font-weight: 500;
  font-size: 1.07rem;
  color: #232323;
}
.cookie-switch {
  width: 44px; height: 23px;
  background: #e8e8e8;
  border-radius: 12px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  transition: background .12s;
}
.cookie-switch input {
  display: none;
}
.cookie-switch span {
  position: absolute;
  left: 3px; top: 2.3px;
  width: 19px; height: 18px;
  background: #232323;
  border-radius: 50%;
  transition: left 0.17s cubic-bezier(.5,0,0,1), background .12s;
}
.cookie-switch input:checked + span {
  left: 22px;
  background: #184C7D;
}
.cookie-switch.disabled {
  opacity: 0.5;
  pointer-events: none;
}
.cookie-modal-actions {
  margin-top: 26px;
  display: flex;
  flex-direction: row-reverse;
  gap: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 11px; right: 15px;
  background: none;
  font-size: 1.3rem;
  color: #191919;
  border: none;
  cursor: pointer;
  transition: color .11s;
  z-index: 1;
}
.cookie-modal-close:focus-visible, .cookie-modal-close:hover {
  color: #184C7D;
}

/* ========== END Cookie Consent ========== */

/*******************************************************
  Accessibility & Misc & Utility
*******************************************************/
.sr-only { 
  position: absolute !important;
  width: 1px; height: 1px; 
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Additional micro animations for hover/focus */
.card, .feature-item, .testimonial-card, .cta-btn {
  will-change: box-shadow, background, border-color;
}
h1, h2, h3, h4, h5, h6 {
  transition: color .18s;
}
nav a, .footer-top nav a {
  transition: color .14s, background .12s, opacity .12s;
}

/* Consistent section contrast for monochrome sophistication */
section:nth-of-type(even) {
  background: #fafafd;
}
section:nth-of-type(odd) {
  background: #fff;
}

/*******************************************************
 Responsive Fix for all Main Content / Typography
*******************************************************/
@media (max-width: 600px) {
  h1, .cta-btn, .feature-item, .card, .testimonial-card, .container {
    font-size: 0.99rem !important;
  }
  .container {
    padding: 0 3px;
  }
}
