/* RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F8FAFC;
  color: #16375B;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style-position: inside;
}
a {
  color: #2D7DB6;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #143C6D;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  background: none;
  border: none;
  color: inherit;
}
button {
  cursor: pointer;
}

/* BRAND COLOR VARIABLES */
:root {
  --primary: #143C6D;
  --secondary: #2D7DB6;
  --accent: #F4CB54;
  --background: #F8FAFC;
  --white: #fff;
  --dark: #16375B;
  --muted: #e7ecf1;
  --shadow: rgba(36, 57, 100, 0.08);
}

/* GENERAL LAYOUT CLASSES */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 6px 32px var(--shadow);
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover {
  box-shadow: 0 12px 40px rgba(36,57,100,0.13);
  transform: translateY(-2px) scale(1.02);
}
.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: 20px;
  padding: 20px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 2px 16px var(--shadow);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 400px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px var(--shadow);
  transform: translateY(-2px) scale(1.01);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 2px 12px var(--shadow);
  padding: 24px 18px;
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 330px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-item:hover {
  box-shadow: 0 8px 24px var(--shadow);
  transform: scale(1.02);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(110deg, var(--secondary) 0%, var(--primary) 97%);
  color: var(--white);
  padding: 60px 0 70px 0;
  margin-bottom: 40px;
}
.hero .container {
  align-items: flex-start;
}
.hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 32px;
}
.hero .button {
  margin-top: 12px;
}

/* BUTTONS */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  padding: 11px 28px;
  margin: 8px 0;
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 2px 10px var(--shadow);
  border: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.1s;
}
.button.primary {
  background: var(--accent);
  color: var(--primary);
}
.button:hover, .button:focus {
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 6px 24px var(--shadow);
  transform: translateY(-2px) scale(1.03);
}
.button.primary:hover, .button.primary:focus {
  background: var(--secondary);
  color: var(--white);
}

.badge {
  background: var(--accent);
  color: var(--primary);
  font-size: 0.92em;
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 5px;
  letter-spacing: 0.01em;
}

/* HEADER & NAVIGATION */
header {
  background: var(--white);
  box-shadow: 0 2px 14px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 199;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 12px 20px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--dark);
  border-radius: 8px;
  padding: 6px 14px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
header .button.primary {
  margin-left: 24px;
}
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  color: var(--white);
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
  z-index: 220;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--primary);
  color: var(--accent);
}

/* MOBILE NAVIGATION OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  box-shadow: 0 16px 48px rgba(20,60,109,0.25);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.53,0,0.44,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0;
  padding: 0 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 24px 0 0;
  font-size: 2.1rem;
  background: transparent;
  color: var(--accent);
  border: none;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 36px 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.24rem;
  color: var(--accent);
  padding: 10px;
  width: 100%;
  border-radius: 8px;
  margin-bottom: 4px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--white);
  background: var(--secondary);
}

/* MAIN & GENERIC TYPOGRAPHY */
main {
  flex: 1 1 auto;
}
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.28rem; }
h4 { font-size: 1.08rem; }
h5 { font-size: 1.02rem; }
p, li, address, span, strong {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--dark);
  font-size: 1rem;
  letter-spacing: 0.01em;
}
strong {
  font-weight: 700;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}
.text-section ul, .text-section ol {
  margin-top: 4px;
  margin-bottom: 12px;
  padding-left: 16px;
}
.text-section li {
  margin-bottom: 8px;
  font-size: 1rem;
}
address {
  font-style: normal;
  color: var(--dark);
  margin-bottom: 8px;
}
.opening-hours {
  margin-top: 6px;
  font-size: 1rem;
}

.content-wrapper > h2, .content-wrapper > h3 { margin-bottom: 8px; }

.usp-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  padding-left: 22px;
  font-size: 1rem;
  color: var(--primary);
}

.availability-notice, .service-promise, .faq-snippet {
  background: var(--muted);
  padding: 20px 22px;
  border-radius: 11px;
  margin-top: 18px;
  color: var(--primary);
  font-size: 1.07rem;
  font-family: 'Roboto', Arial, sans-serif;
}

.team-highlight {
  background: var(--muted);
  padding: 17px 14px;
  border-radius: 10px;
  margin: 22px 0 12px 0;
}

.faq-list, .preisvorteile-list {
  margin-top: 6px;
  margin-bottom: 18px;
}
.faq-list h3, .faq-list h4 {
  margin-top: 18px;
  color: var(--secondary);
}
.faq-list ul, .preisvorteile-list ul {
  margin: 6px 0 8px 12px;
}

/***** TABLE STYLES *****/
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 15px var(--shadow);
  font-size: 1rem;
  margin: 10px 0 24px 0;
}
.pricing-table th, .pricing-table td {
  padding: 16px 14px;
  text-align: left;
}
.pricing-table th {
  background: var(--secondary);
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
}
.pricing-table tr {
  border-bottom: 1px solid var(--muted);
}
.pricing-table tr:last-child {
  border-bottom: none;
}
.pricing-table td {
  color: var(--dark);
}

/***** FEATURES LAYOUT *****/
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.features-grid .feature-item {
  flex: 1 1 230px;
  max-width: 330px;
}

/***** TESTIMONIALS *****/
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  justify-content: flex-start;
}
.testimonial-name {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
}

/***** CONTACT-INFO *****/
.contact-info {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.1rem;
  margin: 10px 0 16px 0;
}
.contact-info img {
  width: 22px;
  margin-right: 8px;
  filter: drop-shadow(0 1px 2px var(--shadow));
}

/***** FOOTER *****/
footer {
  background: var(--primary);
  color: var(--white);
  padding: 32px 0 16px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}
.footer-brand img {
  width: 36px; height: 36px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color .2s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--white);
  text-decoration: underline;
}
footer strong { color: var(--accent); }
footer div {
  font-size: 0.98rem;
  color: var(--white);
}

/********************************************
 * RESPONSIVE DESIGN (MOBILE-FIRST)
 ********************************************/
@media (max-width: 1024px) {
  .container {
    max-width: 940px;
  }
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 850px) {
  .container {
    max-width: 100vw;
    padding-left: 12px;
    padding-right: 12px;
  }
  .features-grid,
  .testimonial-slider,
  .testimonial-list,
  .card-container {
    gap: 16px;
  }
  .feature-item {
    max-width: 100%;
    min-width: 115px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }
  header nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .button.primary {
    margin-left: auto;
  }
  .features-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .testimonial-slider, .testimonial-list, .card-container {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .footer-brand {
    margin-bottom: 10px;
  }
  .content-grid { flex-direction: column; gap: 18px; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .testimonial-card, .card, .feature-item {
    max-width: 100%;
    min-width: unset;
  }
  .section {
    padding: 32px 8px;
    margin-bottom: 38px;
  }
  .hero {
    padding: 36px 0 45px 0;
  }
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.2rem; }
  h3, h4 { font-size: 1.01rem; }
  .pricing-table th, .pricing-table td { padding: 8px 5px; font-size: 0.95em; }
}
@media (max-width: 550px) {
  .container { padding-left: 6px; padding-right: 6px; }
  .section { padding: 22px 2px; }
  .hero { padding-left: 0; padding-right: 0; }
  h1 { font-size: 1.05rem; }
}

/********************************************
 * COOKIE CONSENT BANNER & MODAL
 ********************************************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 99999;
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 -6px 24px var(--shadow);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 18px 22px 26px;
  animation: cookie-slide-in 0.47s cubic-bezier(.7,.12,.18,1);
  font-size: 1.02rem;
}
@keyframes cookie-slide-in {
  0% { transform: translateY(140%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-text {
  flex: 1 1 220px;
  max-width: 640px;
  margin-right: 14px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.cookie-banner .button, .cookie-banner .cookie-settings-btn {
  font-size: 0.98rem;
  padding: 9px 16px;
}
.cookie-banner .button {
  border-radius: 26px;
  background: var(--accent);
  color: var(--primary);
  font-weight: 600;
}
.cookie-banner .button.reject {
  background: var(--white);
  color: var(--secondary);
}
.cookie-banner .button:hover { background: var(--white); color: var(--secondary); }
.cookie-banner .button.reject:hover { background: var(--accent); color: var(--primary); }


/* COOKIE MODAL OVERLAY */
.cookie-modal-overlay {
  position: fixed;
  z-index: 100000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(20,60,109,0.74);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.cookie-modal {
  background: var(--white);
  color: var(--primary);
  border-radius: 18px;
  box-shadow: 0 18px 64px rgba(36, 57,100,0.22);
  padding: 34px 24px 24px 24px;
  min-width: 290px;
  max-width: 97vw;
  max-height: 96vh;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: cookie-fade-in 0.32s cubic-bezier(.77,.16,.13,.92);
  position: relative;
}
@keyframes cookie-fade-in {
  0% { transform: translateY(80px) scale(.95); opacity: 0; }
  80% { opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--secondary);
  font-size: 1.25rem;
  margin-bottom: 3px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
}
.cookie-modal input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: var(--secondary);
  margin-right: 4px;
}
.cookie-modal .cookie-description {
  font-size: 0.98rem;
  color: var(--primary);
}
.cookie-modal .button {
  min-width: 110px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: transparent;
  color: var(--secondary);
  font-size: 1.35rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal .cookie-modal-close:hover { color: var(--accent); }

/* Essentials not toggleable */
.cookie-modal .cookie-category.essential {
  opacity: 0.78;
  cursor: not-allowed;
}
.cookie-modal .cookie-category.essential input {
  pointer-events: none;
}

/*******************************************
 * MISC UI HELPERS
 *******************************************/
.section:last-child {
  margin-bottom: 0 !important;
}
hr {
  border: none;
  border-top: 1px solid var(--muted);
  margin: 24px 0;
}

/********************************************
 * SCROLLBAR CUSTOMIZATION
 * (gradients for modern touch)
 ********************************************/
::-webkit-scrollbar { width: 12px; background: var(--muted); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--secondary) 25%, var(--primary) 80%);
  border-radius: 6px;
}

/********************************************
 * ANIMATIONS & INTERACTIONS
 ********************************************/
.button, .card, .feature-item, .testimonial-card {
  transition: box-shadow 0.18s, background 0.18s, color 0.18s, transform 0.15s;
}
.button:active, .card:active, .feature-item:active {
  transform: scale(0.98);
}

/********************************************
 * PRINT STYLES (minimal)
 ********************************************/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  body, main, section, .container {
    background: #fff !important;
    color: #000 !important;
  }
}

/* END OF style.css */
