/* CSS RESET & BASE */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #212121;
  background: #fff;
  min-height: 100vh;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
}
a {
  color: #1B2838;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #4E8F4B;
  outline: none;
}
ul, ol {
  margin-left: 1.5em;
}
li {
  margin-bottom: 10px;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #111;
  line-height: 1.15;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
  color: #1B2838;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #1B2838;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #1B2838;
}
h4, h5, h6 {
  font-size: 1rem;
}
.subheadline {
  font-size: 1.125rem;
  color: #616161;
  margin-bottom: 18px;
  font-weight: 400;
}
p {
  margin-bottom: 12px;
  font-size: 1rem;
  color: #232323;
}
strong {
  color: #111;
  font-weight: 600;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section ul {
  list-style: disc inside;
  color: #363636;
}

/* BUTTONS */
.cta-btn {
  background: #1B2838;
  color: #fff;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 28px;
  border: none;
  display: inline-block;
  margin-top: 8px;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 12px rgba(27, 40, 56, 0.10);
  cursor: pointer;
  transition: background 0.2s, transform 0.16s, box-shadow 0.2s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #4E8F4B;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 20px rgba(27, 40, 56, 0.18);
}

button {
  font: inherit; 
  cursor: pointer;
  outline: none;
  background: none;
  border: none;
}

/* NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 14px rgba(34, 34, 34, 0.06);
  position: sticky;
  top: 0;
  z-index: 30;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 0;
}
nav > a img {
  height: 38px;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style-type: none;
  align-items: center;
}
nav ul li a {
  font-family: 'Oswald', 'Roboto', sans-serif;
  font-size: 1rem;
  color: #1B2838;
  padding: 8px 18px;
  border-radius: 19px;
  transition: background 0.2s, color 0.2s;
}
nav ul li a:hover, nav ul li a:focus {
  background: #E5E7EB;
  color: #4E8F4B;
}

/* HIDE MAIN DESKTOP NAV ON MOBILE */
.mobile-menu-toggle,
.mobile-menu {
  display: none;
}

@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
  }
  nav ul {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 860px) {
  nav {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  nav ul,
  nav .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    background: #1B2838;
    color: #fff;
    border-radius: 8px;
    font-size: 2rem;
    padding: 7px 15px 9px 15px;
    margin-left: auto;
    transition: background 0.16s, color 0.16s;
    z-index: 1031;
  }
  .mobile-menu-toggle:focus,
  .mobile-menu-toggle:hover {
    background: #4E8F4B;
    color: #fff;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    box-shadow: -6px 0 24px rgba(27,40,56,0.16);
    transform: translateX(100%);
    transition: transform 0.37s cubic-bezier(.68,-0.55,.27,1.55);
    z-index: 1020;
    opacity: 1;
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu-close {
    align-self: flex-end;
    color: #1B2838;
    font-size: 2rem;
    background: none;
    border: none;
    margin: 18px 28px 12px 0;
    cursor: pointer;
    transition: color 0.18s;
  }
  .mobile-menu-close:hover, .mobile-menu-close:focus {
    color: #4E8F4B;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 48px 32px;
    margin-top: 32px;
  }
  .mobile-nav a {
    font-family: 'Oswald', 'Roboto', sans-serif;
    font-size: 1.3rem;
    color: #1B2838;
    padding: 14px 8px;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
  }
  .mobile-nav a:hover, .mobile-nav a:focus {
    background: #E5E7EB;
    color: #4E8F4B;
  }
}

/* FLEXBOX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* MONOCHROME SOPHISTICATED GRID-ALTERNATIVES */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  background: #F8F9FA;
  padding: 24px 20px 20px 20px;
  border-radius: 18px;
  border: 1px solid #E5E7EB;
  box-shadow: 0 2px 12px rgba(34, 34, 34, 0.04);
  flex: 1 1 210px;
  min-width: 180px;
  max-width: 320px;
  align-items: flex-start;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.feature-item:hover {
  border-color: #4E8F4B;
  box-shadow: 0 8px 28px rgba(34,34,34,0.10);
}
.feature-item img {
  height: 32px;
  width: 32px;
  margin-bottom: 5px;
  filter: grayscale(100%) contrast(125%);
}
.feature-item h3 {
  font-size: 1.1rem;
  color: #1B2838;
}
.feature-item p {
  color: #363636;
  font-size: 0.98rem;
}

/* SERVICE CARDS / GRIDS (LEISTUNGEN + INDEX + LEISTUNGEN) */
.service-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-card {
  background: #fff;
  border: 1px solid #D2D5D8;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(27,40,56,.07);
  padding: 28px 24px 22px 24px;
  flex: 1 1 230px;
  min-width: 210px;
  max-width: 330px;
  margin-bottom: 20px;
  transition: box-shadow 0.21s, border-color 0.2s, transform 0.18s;
}
.service-card img {
  filter: grayscale(1) brightness(0.2);
  margin-bottom: 8px;
  height: 38px;
  width: 38px;
}
.service-card h3 {
  color: #1B2838;
  margin-bottom: 7px;
  font-size: 1.1rem;
}
.service-card p {
  color: #232323;
}
.service-price {
  display: block;
  margin-top: 14px;
  color: #4E8F4B;
  font-size: 1.12rem;
  font-weight: 600;
}
.service-card:hover, .service-card:focus {
  border-color: #4E8F4B;
  box-shadow: 0 6px 32px rgba(27,40,56,0.10);
  transform: translateY(-2px) scale(1.015);
}

/* PRICING TABLE */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  margin-bottom: 32px;
  box-shadow: 0 2px 14px rgba(27,40,56,0.07);
  border-radius: 16px;
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  text-align: left;
  padding: 18px 14px;
  font-size: 0.99rem;
}
.pricing-table th {
  background: #1B2838;
  color: #fff;
  font-family: 'Oswald', 'Roboto', sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.pricing-table tr {
  border-bottom: 1px solid #E5E7EB;
}
.pricing-table tbody tr:nth-child(even) {
  background: #F8F9FA;
}
.pricing-table tr:last-child {
  border-bottom: none;
}

/* TESTIMONIALS */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  flex: 1 1 300px;
  min-width: 230px;
  max-width: 520px;
  background: #FAFAFB;
  border-left: 4px solid #1B2838;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(27,40,56,0.09);
  padding: 30px 26px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0px;
  color: #1B2838;
  margin-bottom: 20px;
  transition: border-color 0.23s, box-shadow 0.18s, transform 0.21s;
}
.testimonial-card p {
  font-size: 1.08rem;
  font-style: italic;
  color: #232323;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #49515a;
  margin-top: 14px;
}
.testimonial-card:hover {
  border-left: 6px solid #4E8F4B;
  box-shadow: 0 8px 36px rgba(27,40,56,0.13);
  transform: scale(1.015);
}

/* CONTACT DETAILS */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: flex-start;
}
.contact-details .text-section {
  flex: 2 1 260px;
}
.contact-details a.cta-btn {
  flex: 1 1 auto;
}
.contact-details ul li img {
  filter: grayscale(100%) brightness(0.22);
  height: 19px;
  width: 19px;
  margin-right: 10px;
  vertical-align: middle;
  display: inline-block;
}

/* FOOTER */
footer {
  background: #1B2838;
  color: #fff;
  padding: 0 0 0 0;
  margin-top: 100px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #454D5B;
  padding: 40px 0 22px 0;
  gap: 20px;
}
.footer-top img {
  height: 42px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.footer-menu a {
  color: #fff;
  font-family: 'Oswald', 'Roboto', sans-serif;
  font-size: 1rem;
  opacity: 0.93;
  transition: color 0.2s, opacity 0.18s;
  border-radius: 8px;
  padding: 7px 14px;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #4E8F4B;
  background: rgba(255,255,255,0.06);
  opacity: 1;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  padding: 24px 0 15px 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}
.contact-snippet ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #E5E7EB;
  list-style: none;
}
.contact-snippet li img {
  filter: grayscale(100%) brightness(1.7);
  height: 14px;
  width: 14px;
  margin-right: 8px;
  vertical-align: middle;
  display: inline-block;
}
.footer-brand span {
  color: #E5E7EB;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  opacity: 0.85;
}

/* TABLE STYLES FOR KONTAKT & ÖFFNUNGSZEITEN */
table {
  width: 100%;
  margin: 17px 0 28px 0;
  border-collapse: collapse;
  background: #F8F9FA;
  border-radius: 14px;
  overflow: hidden;
}
table td, table th {
  padding: 12px 18px;
  font-size: 1rem;
  color: #1B2838;
}
table tr {
  border-bottom: 1px solid #E5E7EB;
}
table tr:last-child {
  border-bottom: none;
}

/* FAQ (preise) */
.content-wrapper ul {
  margin-left: 1.3em;
  color: #363636;
}
.content-wrapper li {
  margin-bottom: 10px;
}

/* THANK-YOU & DATA PAGES */
.text-section a.cta-btn {
  margin-top: 16px;
}

/* SPACING ADJUSTMENTS FOR MOBILE/BREAKPOINTS */
@media (max-width: 1080px) {
  .feature-item, .service-card {
    min-width: 155px;
    max-width: 48vw;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-grid, .testimonial-list {
    gap: 16px;
  }
  .feature-item, .service-card, .testimonial-card {
    min-width: 160px;
    max-width: 99vw;
  }
  .footer-menu, .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 9px;
  }
  .content-wrapper {
    gap: 20px;
  }
  .feature-grid, .service-grid, .testimonial-list, .card-container, .contact-details {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .service-card, .testimonial-card {
    max-width: 99vw;
    min-width: 0;
    width: 100%;
  }
  .testimonial-list, .service-list {
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .section {
    margin-bottom: 34px;
    padding: 25px 4px;
  }
  .footer-top {
    flex-direction: column;
    gap: 15px;
    padding: 28px 0 12px 0;
    align-items: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 15px 0 10px 0;
  }
  .footer-brand {
    margin-top: 4px;
  }
  .contact-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* MICRO-INTERACTIONS & ANIMATION */
.cta-btn, .service-card, .feature-item, .testimonial-card {
  transition: box-shadow 0.17s, border-color 0.18s, transform 0.1s, background 0.13s;
}
.testimonial-card:hover, .service-card:hover, .feature-item:hover {
  z-index: 2;
  box-shadow: 0 8px 38px rgba(27,40,56,0.13);
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 5100;
  background: #1B2838;
  color: #fff;
  box-shadow: 0 -8px 24px rgba(27,40,56,0.14);
  padding: 26px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  font-size: 1rem;
  animation: cookie-fade-in 0.53s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes cookie-fade-in {
  0% { opacity:0; transform: translateY(90px); }
  100% { opacity:1; transform: translateY(0); }
}
.cookie-banner p {
  color: #fff;
  margin: 0;
  font-size: 1rem;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.cookie-banner button,
.cookie-banner .cookie-btn {
  font-family: 'Oswald', 'Roboto', sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  padding: 9px 26px;
  border-radius: 22px;
  border: none;
  background: #fff;
  color: #1B2838;
  margin: 0 0 0 0;
  transition: background 0.18s, color 0.16s, transform 0.13s;
  box-shadow: 0 1px 6px rgba(34, 34, 34, 0.07);
  cursor: pointer;
}
.cookie-banner button:hover,
.cookie-banner .cookie-btn:focus {
  background: #4E8F4B;
  color: #fff;
  transform: translateY(-2px) scale(1.025);
}
.cookie-banner .cookie-btn.reject {
  background: #E5E7EB;
  color: #212121;
}
.cookie-banner .cookie-btn.reject:hover {
  background: #434343;
  color: #fff;
}
@media (max-width: 540px) {
  .cookie-banner {
    padding: 18px 5px 12px 5px;
    font-size: 0.98rem;
    gap: 12px;
  }
  .cookie-banner .cookie-btn-group {
    gap: 10px;
  }
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(27,40,56,0.24);
  z-index: 5110;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-backdrop-fade 0.35s;
}
@keyframes cookie-backdrop-fade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #1B2838;
  width: 96vw;
  max-width: 425px;
  border-radius: 22px;
  box-shadow: 0 16px 60px rgba(27,40,56,0.19);
  z-index: 5112;
  padding: 32px 26px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  animation: cookie-modal-slide 0.33s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes cookie-modal-slide {
  0% { opacity: 0; transform: translateY(80px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.33rem;
  line-height: 1.16;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #E5E7EB;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal .cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 400;
  color: #1B2838;
}
.cookie-modal .cookie-switch {
  appearance: none;
  width: 40px; height: 22px;
  background: #D2D5D8;
  border-radius: 12px;
  position: relative;
  outline: none;
  transition: background 0.2s;
}
.cookie-modal .cookie-switch:checked {
  background: #4E8F4B;
}
.cookie-modal .cookie-switch:before {
  content: '';
  display: block;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: left 0.2s;
  box-shadow: 0 1px 6px rgba(27,40,56,0.07);
}
.cookie-modal .cookie-switch:checked:before {
  left: 21px;
}
.cookie-modal .essential {
  color: #616161;
  font-size: 0.97rem;
  opacity: 0.77;
}
.cookie-modal .modal-btn-group {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal button {
  font-family: 'Oswald', 'Roboto', sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  padding: 8px 24px;
  border-radius: 20px;
  border: none;
  background: #1B2838;
  color: #fff;
  margin: 0 0 0 0;
  transition: background 0.16s, color 0.14s, transform 0.12s;
  box-shadow: 0 1px 8px rgba(34, 34, 34, 0.06);
  cursor: pointer;
}
.cookie-modal button:hover {
  background: #4E8F4B;
  color: #fff;
  transform: scale(1.03);
}
.cookie-modal .close-cookie-modal {
  background: #E5E7EB;
  color: #232323;
}
.cookie-modal .close-cookie-modal:hover {
  background: #434343;
  color: #fff;
}

/* Z-INDEX SAFEGUARDS */
header { z-index: 30; }
.mobile-menu { z-index: 1020; }
.cookie-banner { z-index: 5100; }
.cookie-modal-backdrop { z-index: 5110; }

/* SELECTION COLOR */
::selection {
  background: #1B2838;
  color: #fff;
}

/* SCROLLBAR STYLES - Subtle monochrome accent */
body::-webkit-scrollbar {
  width: 9px;
  background: #E5E7EB;
}
body::-webkit-scrollbar-thumb {
  background: #1B2838;
  border-radius: 4px;
}
body::-webkit-scrollbar-thumb:hover {
  background: #4E8F4B;
}

/* MONOCHROME SHADES FOR CARD DECORATIVE BORDERS */
.card, .service-card, .feature-item {
  border: 1px solid #E5E7EB;
}

/* FOCUS STATES (Accessibility) */
a:focus, button:focus, .cta-btn:focus, .mobile-nav a:focus {
  outline: 2px solid #4E8F4B;
  outline-offset: 2px;
}

/* END OF STYLES */
