/* RESET & BASELINE STYLES */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #181818;
  background: #fff;
  line-height: 1.5;
  min-height: 100vh;
  letter-spacing: 0.01em;
  font-size: 16px;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  list-style-position: inside;
  margin-left: 1em;
}
a {
  color: #181818;
  text-decoration: none;
  transition: color 0.2s;
  outline: none;
}
a:focus {
  outline: 2px solid #181818;
}
::-webkit-input-placeholder { color: #757575;}
::-moz-placeholder { color: #757575; }
:-ms-input-placeholder { color: #757575; }
::placeholder { color: #757575; }

/* TYPOGRAPHY - Monochrome Sophisticated */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: #121212;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.15;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}
p {
  font-size: 1.125rem;
  margin-bottom: 18px;
  color: #232323;
}
strong, b {
  font-weight: bold;
}
.text-section ul, .text-section ol {
  margin-bottom: 20px;
  color: #232323;
}

/* LAYOUT CONTAINERS */
.container {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: 0 5px 24px rgba(24, 24, 24, 0.10);
  border-radius: 18px;
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid #e6e6e6;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 12px 28px rgba(24,24,24,0.18);
  transform: translateY(-2px) scale(1.015);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #f9f9f9;
  border-radius: 16px;
  padding: 24px 22px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(40,40,40,0.07);
  border: 1px solid #ddd;
}
.testimonial-card p {
  color: #101010;
  font-size: 1.15rem;
  font-style: italic;
}
.testimonial-card span {
  font-size: 1rem;
  color: #444;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.map-placeholder {
  background: #e8eaed;
  border-radius: 12px;
  padding: 32px 20px;
  text-align: center;
  color: #333;
  margin-top: 12px;
  font-size: 1.05rem;
}

/* NAVBAR - Monochrome Sophisticated */
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(36,36,36,0.07);
  padding: 0;
  position: relative;
  z-index: 99;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 18px 0 14px 0;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 4px 6px;
  border-radius: 4px;
  color: #1a1a1a;
  transition: color 0.23s, background 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #181818;
  color: #fff;
}
.main-nav .btn-primary {
  margin-left: auto;
  background: #181818;
  color: #fff;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(18,18,18,0.09);
  transition: background 0.18s, box-shadow 0.23s;
}
.main-nav .btn-primary:hover,
.main-nav .btn-primary:focus {
  background: #275881;
  color: #fff;
  box-shadow: 0 6px 16px rgba(39,88,129,0.16);
}
.main-nav img {
  max-height: 40px;
  margin-right: 16px;
}

/* BUTTONS */
.btn-primary, .btn-secondary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  outline: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 700;
  padding: 12px 34px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 3px 12px rgba(24,24,24,0.07);
  text-decoration: none;
}
.btn-primary {
  background: #181818;
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: #275881;
  color: #fff;
  transform: translateY(-2px) scale(1.016);
}
.btn-secondary {
  background: #fff;
  color: #181818;
  border: 1.5px solid #181818;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #181818;
  color: #fff;
  border-color: #181818;
  transform: translateY(-2px) scale(1.012);
}

/* TABLES - Preise page */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  margin-bottom: 22px;
  font-size: 1.075rem;
}
table th, table td {
  padding: 16px 12px;
  border-bottom: 1.5px solid #ececec;
  text-align: left;
}
table th {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  background: #222;
  color: #fff;
  border-radius: 0;
  font-size: 1rem;
}
table tr:nth-child(even) {
  background: #f6f6f6;
}

/* FOOTER */
footer {
  background: #181818;
  color: #fff;
  padding: 40px 0 0 0;
  font-size: 1rem;
  margin-top: 80px;
}
footer .container {
  padding-bottom: 16px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  margin-top: 0;
}
.footer-nav a {
  color: #f9f9f9;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  opacity: 0.92;
  transition: opacity 0.15s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  opacity: 1;
  color: #85B276;
}
.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #e1e1e1;
  font-size: 0.97rem;
  margin-bottom: 10px;
  align-items: center;
}
.footer-info img {
  margin-right: 6px;
  max-width: 18px;
  margin-bottom: -3px;
}
.footer-social {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}
.footer-social a img {
  width: 30px;
  height: 30px;
  filter: grayscale(1) contrast(1.3);
  opacity: 0.78;
  transition: opacity 0.2s, filter 0.2s;
}
.footer-social a:hover img {
  opacity: 1;
  filter: grayscale(0) contrast(1.3);
}

/* TEXT SECTION - for About, Contact, GDPR, etc */
.text-section ul, .text-section ol {
  font-size: 1.08rem;
  margin-bottom: 14px;
  margin-left: 1.5em;
  color: #292929;
}
.text-section li {
  margin-bottom: 10px;
  line-height: 1.5;
}
.text-section b {
  color: #181818;
  font-weight: 700;
}

/* OL, UL GLOBAL SPACING */
ul, ol {
  margin-bottom: 18px;
}

/* HERO SECTION (index) */
.container > .content-wrapper > h1 {
  margin-top: 40px;
}

/* CTA Padding */
.cta-section h2 {
  text-align: center;
}
.cta-section .btn-primary {
  margin-top: 14px;
}

/* FAQ/So funktioniert's Styles */
ol li {
  margin-bottom: 12px;
}
ol {
  counter-reset: custom-ol;
}
ol li {
  position: relative;
  padding-left: 2em;
}

/* CUSTOM OL NUMBERS */
ol li:before {
  content: counter(custom-ol) ". ";
  counter-increment: custom-ol;
  position: absolute;
  left: 0;
  color: #181818;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1rem;
}

/* ICONED UL */
li img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  vertical-align: middle;
  display: inline-block;
  filter: grayscale(1) contrast(1.2);
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 22px;
  top: 18px;
  font-size: 2.1rem;
  color: #181818;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1300;
  padding: 2px 10px 4px 10px;
  border-radius: 6px;
  outline: none;
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #ededed;
  color: #275881;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 100vw;
  width: 100vw;
  height: 100vh;
  background: #181818;
  color: #fff;
  z-index: 2000;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  box-shadow: -2px 0 18px rgba(18,18,18,0.22);
  transition: transform 0.32s cubic-bezier(0.61,0.19,0.38,1.07); /* gentle slide */
  transform: translateX(0);
}
.mobile-menu.open {
  display: flex;
  left: 0;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.3rem;
  padding: 14px 20px 8px 18px;
  margin-left: auto;
  cursor: pointer;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 18px;
  width: 100%;
  padding-left: 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.28rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 12px 0;
  border-radius: 5px;
  font-weight: 700;
  width: fit-content;
  transition: background 0.19s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #ededed;
  color: #181818;
}

/* Responsive - Nav and Mobile Menu */
@media (max-width: 1024px) {
  .main-nav a {
    font-size: 0.99rem;
    padding: 4px;
  }
  .main-nav img {
    max-width: 120px;
  }
}
@media (max-width: 820px) {
  .main-nav {
    flex-wrap: wrap;
    gap: 8px;
  }
}
@media (max-width: 900px) {
  .main-nav .btn-primary {
    margin-left: 0;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    display: flex;
    left: 100vw;
    top: 0;
    height: 100vh;
    width: 100vw;
    transition: transform 0.34s cubic-bezier(0.61,0.19,0.38,1.07);
    transform: translateX(0);
    background: #181818;
    flex-direction: column;
    padding-top: 10px;
  }
  .mobile-menu.open {
    left: 0;
    transform: translateX(-100vw);
    animation: menuSlideIn 0.42s cubic-bezier(0.44,1,0.1,1) forwards;
    display: flex;
  }
  @keyframes menuSlideIn {
    0% { transform: translateX(100vw); }
    100% { transform: translateX(0); }
  }
}

@media (max-width: 820px) {
  .footer-info {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* LAYOUT RESPONSIVENESS */
@media (max-width: 1000px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 26px 4px;
    margin-bottom: 34px;
  }
  h1 {
    font-size: 2rem;
    margin-bottom: 16px;
  }
  h2 {
    font-size: 1.35rem;
    margin-bottom: 13px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .testimonial-card {
    padding: 16px 10px;
  }
  .footer-social a img {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .cta-section {
    gap: 8px;
    padding-bottom: 10px;
  }
}

@media (max-width: 540px) {
  header {
    padding-bottom: 7px;
  }
  .footer-info span {
    font-size: 0.92rem;
  }
}

/* FOCUS/INTERACTIONS/TRANSITIONS */
a:focus, .btn-primary:focus, .btn-secondary:focus, input:focus, button:focus {
  outline: 2px solid #275881;
  outline-offset: 2px;
}
button, .btn-primary, .btn-secondary {
  transition: background 0.18s, color 0.18s, transform 0.15s, box-shadow 0.12s;
}
.card, .testimonial-card, .card:hover, .btn-primary, .btn-secondary {
  transition: box-shadow 0.2s, background 0.18s, color 0.18s, transform 0.13s;
}

/* COOKIE BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #222;
  color: #ededed;
  box-shadow: 0 -2px 24px rgba(27,27,27,0.13);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 24px 16px 24px;
  font-size: 1.06rem;
  font-family: 'Open Sans', Arial, sans-serif;
  animation: cookieIn 0.55s ease;
}
@keyframes cookieIn {
  from { transform: translateY(75px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-message {
  flex: 1;
}
.cookie-banner-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner button {
  cursor: pointer;
  text-align: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  padding: 10px 18px;
  margin: 0;
  border-radius: 6px;
  background: #181818;
  color: #fff;
  transition: background 0.17s, color 0.14s, transform 0.13s;
  box-shadow: 0 1px 7px rgba(0,0,0,0.09);
}
.cookie-banner .btn-cookie-settings {
  background: #fff;
  color: #181818;
  border: 1.5px solid #181818;
  margin-left: 0;
}
.cookie-banner .btn-cookie-settings:hover, .cookie-banner .btn-cookie-settings:focus {
  background: #181818;
  color: #fff;
}
.cookie-banner .btn-accept {
  background: #275881;
  color: #fff;
}
.cookie-banner .btn-accept:hover, .cookie-banner .btn-accept:focus {
  background: #181818;
}
.cookie-banner .btn-reject {
  background: #fff;
  color: #181818;
  border: 1.5px solid #181818;
}
.cookie-banner .btn-reject:hover, .cookie-banner .btn-reject:focus {
  background: #181818;
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 14px 10px 14px 12px;
    font-size: 0.98rem;
  }
  .cookie-banner-actions {
    gap: 10px;
  }
}

.cookie-modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10,12,14,0.77);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  animation: cookieModalIn 0.32s linear;
}
.cookie-modal.open {
  display: flex;
}
@keyframes cookieModalIn {
  0% { opacity: 0; transform: scale(0.91); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal-content {
  background: #fff;
  color: #181818;
  border-radius: 18px;
  box-shadow: 0 7px 42px rgba(24,24,24,0.18);
  max-width: 96vw;
  width: 420px;
  padding: 32px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalContentIn 0.45s cubic-bezier(0.46,0.09,0.57,0.97);
}
@keyframes modalContentIn {
  from { opacity: 0; transform: translateY(55px) scale(0.93); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #222;
  font-size: 1.9rem;
  position: absolute;
  right: 22px;
  top: 12px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 50%;
  transition: background 0.12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #f1f1f1;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-category-label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: #181818;
}
.cookie-category-toggle {
  margin-left: auto;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #275881;
}
.cookie-category input[disabled] {
  accent-color: #d4d4d4;
}

@media (max-width: 450px) {
  .cookie-modal-content {
    padding: 18px 7px 17px 7px;
    width: 97vw;
  }
}

/* Z-INDEX HANDLING */
header, .mobile-menu, .cookie-banner, .cookie-modal {
  z-index: 1100;
}

/* MISC STYLE POLISHING FOR MONOCHROME SOPHISTICATED */
::-webkit-scrollbar {
  width: 10px;
  background: #eeeff0;
}
::-webkit-scrollbar-thumb {
  background: #222;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #181818;
}

/* Microinteractions for card/image icons */
.card img, .testimonial-card img, li img {
  transition: filter 0.22s, transform 0.14s;
}
.card:hover img, .testimonial-card:hover img, li:hover img {
  filter: grayscale(0) contrast(1.1);
  transform: scale(1.08) rotate(-2deg);
}

/* Prevent content overlap */
.card, .testimonial-card, .card-container, .content-grid, .cta-section, .section, .text-image-section, .feature-item {
  margin-bottom: 20px;
}

/* HEADINGS/INFO for strong monochrome */
h2, h3, h4 {
  border-left: 4px solid #181818;
  padding-left: 12px;
}

/* Brand accent block for monochrome highlight */
.brand-accent {
  display: inline-block;
  background: #181818;
  color: #fff;
  padding: 2px 12px;
  border-radius: 6px 0 6px 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.01rem;
  margin-right: 8px;
}

/***** END OF CSS *****/
