/* 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;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #141516;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #1a1b1f;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #00498D;
}
ul, ol {
  margin: 0 0 24px 24px;
}
li + li {
  margin-top: 8px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #101010;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.2rem;
  margin-top: 0;
}
h2 {
  font-size: 1.5rem;
  margin-top: 0;
}
h3 {
  font-size: 1.2rem;
  margin-top: 0;
}
h4 {
  font-size: 1rem;
}

@media (min-width: 640px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.3rem; }
}
p, blockquote, address, li {
  font-size: 1.05rem;
  color: #232325;
  line-height: 1.7;
  letter-spacing: 0.01em;
}
strong {
  font-weight: 600;
  color: #18181a;
}
blockquote {
  border-left: 4px solid #101010;
  background: #f3f3f3;
  padding: 16px 24px;
  font-style: italic;
  color: #18181c;
  margin-bottom: 10px;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(45,45,45,0.06);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* FLEXBOX LAYOUT HELPERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px 0 rgba(32,32,32,0.06);
  transition: box-shadow 0.18s;
  min-width: 250px;
  flex: 1 1 320px;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 24px 0 rgba(45,45,55,0.14);
  z-index: 1;
}
.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;
  background: #f6f6f9;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px 0 rgba(70,70,70,0.10);
}
.testimonial-meta {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2a2a2c;
  font-style: normal;
  margin-left: 12px;
  letter-spacing: 0.01em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #f9f9fa;
  border-radius: 10px;
  padding: 22px 18px;
  box-shadow: 0 1px 5px 0 rgba(30, 30, 30, 0.05);
  min-width: 220px;
  flex: 1 1 260px;
  transition: box-shadow 0.17s;
}
.feature-item:hover {
  box-shadow: 0 4px 16px 0 rgba(32,32,42,0.12);
}

/* HERO SECTION */
.hero {
  padding-top: 44px;
  padding-bottom: 44px;
  background: #fff;
  display: flex;
  align-items: center;
  border-bottom: 2px solid #eeeeee;
}
.hero h1 {
  color: #101012;
  font-size: 2.4rem;
  margin-bottom: 0.5em;
  letter-spacing: -0.01em;
}
.hero h2 {
  color: #333335;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.hero p {
  font-size: 1.15rem;
  color: #282829;
  margin-bottom: 30px;
}

/* FEATURE GRID (INDEX & ABOUT) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.usp-list {
  margin-top: 12px;
  margin-bottom: 16px;
  list-style: disc inside;
  padding-left: 0;
  color: #242426;
  font-size: 1rem;
}
.usp-list li {
  margin-top: 0;
  margin-bottom: 6px;
  padding-left: 0;
}

/* SERVICES - SERVICE GRID */
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  justify-content: flex-start;
}
.service-item {
  background: #f9f9fa;
  border-radius: 10px;
  padding: 20px 16px;
  box-shadow: 0 1px 4px 0 rgba(30, 30, 30, 0.05);
  min-width: 220px;
  flex: 1 1 245px;
  margin-bottom: 16px;
}

.service-list {
  margin-top: 0;
  margin-bottom: 14px;
  padding-left: 16px;
  color: #262627;
}
.service-list li {
  margin-bottom: 6px;
}

.pricing-table {
  background: #f5f6fa;
  border-radius: 14px;
  padding: 24px 22px;
  box-shadow: 0 1px 5px 0 rgba(28,28,35,0.04);
  margin-bottom: 24px;
}
.pricing-table h2 {
  margin-top: 16px;
  font-size: 1.3rem;
  color: #141416;
}
.pricing-table ul {
  margin-bottom: 12px;
}

/* FAQ ACCORDION */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #f6f6f9;
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: 0 2px 10px 0 rgba(34,34,44,0.06);
  transition: box-shadow 0.2s;
}
.faq-item:hover {
  box-shadow: 0 6px 16px 0 rgba(34,34,44,0.11);
}
.faq-item h2, .faq-item h3 {
  font-size: 1.08rem;
  margin-bottom: 7px;
}
.faq-item p {
  color: #171719;
}

/* REGIONEN LISTE */
.region-list ul {
  margin-bottom: 24px;
  columns: 1;
  /* will be flexbox for larger screens in media query */
}

.map-embed {
  background: #fafbfc;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 18px;
  font-size: 1.08rem;
  color: #171718;
}

/* CTA SECTION */
.cta, .cta-section {
  background: #101012;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: 32px;
  padding: 40px 24px;
  box-shadow: 0 4px 24px 0 rgba(12,12,18,0.09);
}
.cta h2, .cta-section h2, .cta h3, .cta p {
  color: #fff;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #101010;
  color: #fff;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 14px 30px;
  border: none;
  cursor: pointer;
  transition: background 0.19s, color 0.2s, box-shadow 0.18s;
  box-shadow: 0 2px 14px 0 rgba(20,20,30,0.08);
  margin-top: 8px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #fff;
  color: #101012;
  box-shadow: 0 6px 30px 0 rgba(10,10,16,0.17);
}

/* HEADER, MAIN NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 3px 18px 0 rgba(20,20,30,0.07);
  padding: 0;
  width: 100%;
  z-index: 10;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 82px;
  gap: 12px;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-left: 32px;
}
.main-nav a {
  color: #181820;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 4px 10px;
  border-radius: 6px;
  position: relative;
  transition: color 0.19s, background 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #fff;
  background: #19191c;
}

header .cta-btn {
  margin-left: auto;
  font-size: 1rem;
  padding: 10px 22px;
}

header img {
  max-height: 48px;
}

/* FOOTER */
footer {
  background: #101012;
  color: #fff;
  padding-top: 36px;
  padding-bottom: 36px;
  border-radius: 20px 20px 0 0;
  margin-top: 48px;
}
footer a {
color: white !important;}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-nav {
  display: flex;
  gap: 28px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  opacity: 0.9;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  transition: opacity 0.18s;
}
.footer-nav a:hover {
  opacity: 1;
}
address {
  font-style: normal;
  color: #d3d3d7;
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 8px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-brand img {
  height: 32px;
}
.footer-brand span {
  font-size: 0.97rem;
  color: #b3b3b8;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #222226;
  color: #fff;
  z-index: 9900;
  box-shadow: 0 -2px 18px 0 rgba(20,20,20,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 22px 12px 18px 12px;
  font-size: 1rem;
  animation: cookieBannerIn 0.6s cubic-bezier(.33,1.05,.7,1) both;
}
@keyframes cookieBannerIn {
  from { transform: translateY(140%); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 7px;
}
.cookie-banner button, .cookie-modal button {
  padding: 10px 22px;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: #fff;
  color: #101012;
  border: none;
  font-size: 1rem;
  margin-right: 0;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(10,10,14,0.09);
  transition: background 0.16s, color 0.17s;
}
.cookie-banner button.accept {
  background: #101012;
  color: #fff;
}
.cookie-banner button.accept:hover, .cookie-banner button.accept:focus {
  background: #00498D;
  color: #fff;
}
.cookie-banner button.reject {
  background: #fff;
  color: #101012;
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: #ffa8a8;
  color: #101012;
}
.cookie-banner button.settings {
  background: #232324;
  color: #fff;
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: #fff;
  color: #232324;
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 9999;
  background: rgba(10,10,12,0.52);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.35s;
}
.cookie-modal.open {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  color: #101012;
  width: 92vw;
  max-width: 540px;
  border-radius: 18px;
  box-shadow: 0 8px 40px 0 rgba(24,24,24,0.12);
  padding: 36px 26px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: slideIn 0.32s cubic-bezier(.33,1.05,.7,1);
}
@keyframes slideIn {
  from { transform: translateY(-80px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: #888;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 500;
}
.cookie-category input[type='checkbox'] {
  accent-color: #00498D;
  width: 19px;
  height: 19px;
  margin-top: 1px;
}
.cookie-modal .submit-btns {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 18px;
}

/* MOBILE MENU STYLES */
.mobile-menu-toggle {
  display: flex;
  position: fixed;
  right: 18px;
  top: 24px;
  z-index: 10001;
  width: 48px;
  height: 48px;
  justify-content: center;
  align-items: center;
  background: #101012;
  color: #fff;
  border:none;
  border-radius: 12px;
  font-size: 2rem;
  cursor: pointer;
  transition: background 0.16s, color 0.17s;
  box-shadow: 0 2px 12px 0 rgba(10,10,14,0.10);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #fff;
  color: #101012;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: #18181c;
  color: #fff;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.33,1.05,.7,1);
  will-change: transform;
  box-shadow: 4px 0 28px rgba(22,22,24,0.22);
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 22px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  cursor: pointer;
  z-index: 1;
  filter: drop-shadow(0 1px 7px #111);
  transition: color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #00498D;
}
.mobile-nav {
  margin-top: 62px;
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 8px;
  padding: 10px 6px;
  transition: background 0.16s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fff;
  color: #222225;
}

@media (min-width: 980px) {
  .mobile-menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}
@media (max-width: 979px) {
  .main-nav, header .cta-btn {
    display: none !important;
  }
}

/* RESPONSIVE: FLEX DIRECTION & LAYOUTS */
@media (max-width: 768px) {
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  .content-grid, .feature-grid, .service-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .region-list ul {
    /* columns fallback to flex */
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .cta, .cta-section {
    padding: 34px 10px;
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .section {
    margin-bottom: 36px;
    padding: 24px 6px;
  }
  .feature-item, .service-item, .card {
    min-width: unset;
    padding: 16px 8px;
  }
  .card-container,
  .content-grid,
  .feature-grid,
  .service-grid {
    gap: 14px;
  }
}

/* --- MISC --- */
.text-section {
  margin-bottom: 16px;
}
.text-section h2 {
  font-size: 1.15rem;
  color: #16161a;
  margin-bottom: 8px;
}
.text-section ul {
  padding-left: 0;
}
.process-steps ol {
  padding-left: 18px;
  margin-bottom: 13px;
}
.process-steps li {
  margin-bottom: 6px;
}

/* ICONS (inline images) */
img[alt^="Telefon"], img[alt^="Email"], img[alt^="E-Mail"], img[alt^="Adresse"], img[alt^="Geschäftszeiten"], img[alt^="Map"], img[alt^="Telefon"], img[alt^="Mail"], img[alt^="Clock"] {
  display: inline-block;
  height: 1.16em;
  width: auto;
  vertical-align: text-bottom;
  margin-right: 7px;
}

/* Micro-Interactions */
.cta-btn, .feature-item, .card, .faq-item, .main-nav a, .mobile-nav a, .service-item, .testimonial-card {
  transition: box-shadow 0.19s, background 0.17s, color 0.18s;
}

.cta-btn:active, .mobile-menu-toggle:active, .main-nav a:active, .mobile-nav a:active {
  filter: brightness(0.92);
}

input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  background: #f6f6f6;
  border: 1px solid #d6d6d7;
  border-radius: 8px;
  padding: 11px 14px;
  color: #171719;
  outline: none;
  margin-bottom: 14px;
  transition: border 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #101012;
  background: #fff;
}

/* --- COLOR SCHEME OVERRIDES FOR MONOCHROME SOPHISTICATION --- */
body, section, .section {
  background: #fff;
}
header, .footer-nav, .feature-item, .testimonial-card, .faq-item, .card, .service-item, .cta, .cta-section {
  /* Make sure elements match the high-contrast, monochrome look */
  border: none;
}

/* Scrollbar Styling */
body::-webkit-scrollbar {
  width: 10px;
  background: #f1f1f8;
}
body::-webkit-scrollbar-thumb {
  background: #101012;
  border-radius: 4px;
}

/* Hide outline except for keyboard navigation */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px solid #00498D;
  outline-offset: 2px;
}

/* --- spacing between all cards/sections --- */
.section + .section, .section + section, .content-wrapper + .section, .card + .card {
  margin-top: 36px;
}

/* --- END CSS --- */
