/* ======================= RESET & NORMALIZE ========================== */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  line-height: 1.6;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #f3f4f6;
  color: #1a2226;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  border: 0;
}
a {
  color: #184153;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #18b7db;
  outline: none;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 8px;
  text-align: left;
}
th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: #60a9a6;
  color: #fff;
}
td {
  background: #fff;
  font-size: 1rem;
}
small {
  display: block;
  margin-top: 12px;
}

/* ======================= BRAND COLORS ========================== */
:root {
  --color-primary: #184153;
  --color-secondary: #60a9a6;
  --color-accent: #f3f4f6;
  --color-dark: #142834;
  --color-electric-blue: #18b7db;
  --color-electric-green: #24ed97;
  --color-yellow: #ffcb05;
  --color-pink: #ff3aa3;
  --color-danger: #f44336;
  --color-bg: #f3f4f6;
  --color-card-bg: #fff;
  --color-shadow: rgba(24,65,83,0.08);
}

/* ======================= TYPOGRAPHY ========================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900|Open+Sans:400,600&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: -0.5px;
  color: var(--color-primary);
}
h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.14;
  text-shadow: 0 3px 24px #60a9a6;
}
h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
p, ul, ol, dl, dd {
  font-size: 1rem;
  margin-bottom: 18px;
  color: #1a2226;
}
.hero-subheadline {
  font-size: 1.25rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 24px;
}
strong {
  font-weight: 700;
  color: var(--color-primary);
}

/* ======================= CONTAINER & LAYOUTS ========================== */
.container {
  width: 100%;
  max-width: 1180px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.text-section {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.feature-grid, .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  align-items: stretch;
}
.card {
  background: var(--color-card-bg);
  box-shadow: 0 4px 28px var(--color-shadow);
  border-radius: 20px;
  margin-bottom: 20px;
  padding: 32px 20px 28px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 10px 32px rgba(33,193,255,0.16), 0 2px 8px rgba(24,65,83,0.10);
  transform: translateY(-6px) scale(1.012);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
/* Spacing and alignment 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;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px var(--color-shadow);
  margin-bottom: 20px;
  border-left: 6px solid var(--color-electric-blue);
  min-width: 0;
  transition: box-shadow 0.2s, border 0.2s;
}
.testimonial-card:hover {
  border-left: 6px solid var(--color-pink);
  box-shadow: 0 8px 24px #18b7db33;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ======================= NAVIGATION ========================== */
header {
  background: #fff;
  box-shadow: 0 3px 18px #18415311;
  position: relative;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 18px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #fff;
  background: var(--color-electric-blue);
}
.btn-primary {
  background: linear-gradient(90deg, var(--color-electric-blue) 30%, var(--color-electric-green) 100%);
  color: #fff !important;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  box-shadow: 0 4px 24px #24ed9740;
  transition: box-shadow 0.18s, filter 0.18s, transform 0.18s;
  cursor: pointer;
  letter-spacing: 0.2px;
  margin-left: 10px;
  position: relative;
  z-index: 2;
}
.btn-primary:hover,
.btn-primary:focus {
  filter: brightness(1.11) saturate(1.25);
  box-shadow: 0 8px 40px #18b7db33, 0 3px 10px #24ed9733;
  transform: translateY(-3px) scale(1.03);
}
.btn-secondary {
  background: #fff;
  color: var(--color-electric-blue);
  border: 2px solid var(--color-electric-blue);
  border-radius: 8px;
  padding: 12px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  transition: color 0.24s, background 0.22s, border-color 0.22s, transform 0.11s;
  cursor: pointer;
  margin-top: 10px;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--color-electric-blue);
  color: #fff;
  border-color: var(--color-electric-green);
  transform: scale(1.04);
}

/* ============ MOBILE MENU ================ */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: var(--color-electric-blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  z-index: 114;
  position: relative;
  transition: background 0.18s, transform 0.16s;
}
.mobile-menu-toggle:active {
  background: var(--color-pink);
  transform: scale(0.95);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, #184153 69%, #18b7db 100%);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.75,.1,0,1);
  z-index: 112;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding-top: 56px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px; right: 22px;
  background: var(--color-pink);
  color: #fff;
  border: none;
  font-size: 2.1rem;
  border-radius: 8px;
  padding: 6px 16px;
  cursor: pointer;
  z-index: 120;
  transition: background 0.16s, transform 0.14s;
}
.mobile-menu-close:hover {
  background: var(--color-electric-green);
  color: #154151;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 32px;
  padding-left: 36px;
  gap: 18px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.32rem;
  padding: 12px 0 8px 6px;
  border-radius: 4px;
  font-weight: 700;
  display: block;
  width: 100%;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-electric-green);
  color: #142834;
}

/* Hide main nav on mobile/show burger */
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1001px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =================== FOOTER ======================= */
footer {
  background: var(--color-primary);
  color: #fff;
  margin-top: 48px;
}
footer .container {
  padding-top: 34px;
  padding-bottom: 22px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
footer .content-wrapper {
  gap: 20px;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
footer a {
  color: var(--color-electric-green);
  font-size: 1em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-right: 12px;
  transition: color 0.2s;
}
footer a:hover {
  color: #ffcb05;
}
.footer-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.business-info {
  font-size: 0.98em;
  color: #f3f4f6;
  font-family: 'Open Sans', Arial, sans-serif;
  opacity: 0.94;
}

/* =================== FEATURE, SERVICE, TABLE LISTS =============== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.feature {
  flex: 1 1 220px;
  padding: 24px 22px 20px 22px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 15px #60a9a641;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 210px;
  min-height: 270px;
  text-align: center;
  margin-bottom: 20px;
  border-bottom: 5px solid var(--color-electric-green);
  transition: box-shadow 0.2s, border-bottom 0.2s;
}
.feature:hover {
  box-shadow: 0 8px 28px #24ed9744;
  border-bottom: 5px solid var(--color-pink);
}
.feature img {
  height: 54px;
  width: 54px;
  margin-bottom: 14px;
  filter: saturate(1.35) drop-shadow(0 1px 6px #18b7db22);
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
  font-size: 1.08rem;
}
.service-list img {
  height: 34px;
  width: 34px;
  border-radius: 6px;
  background: linear-gradient(135deg,#18b7db1a,#24ed9717);
  padding: 4px;
}

/* Table styling (for Preise page) */
table {
  margin-bottom: 14px;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 2px 12px #60a9a633;
  overflow: hidden;
}
thead tr {
  background: var(--color-secondary);
}
tbody tr {
  background: #fff;
  border-bottom: 1px solid #e0eef1;
  transition: background 0.15s;
}
tbody tr:hover {
  background: #ecfcfe;
}
td, th {
  vertical-align: middle;
}

/* =================== TESTIMONIALS =============== */
.testimonial-card p {
  color: #1a2226;
  font-size: 1.11rem;
  font-weight: 600;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-secondary);
  font-size: 1rem;
  margin-left: 18px;
}

/* =================== OL & DL (FAQs, Ablauf) =============== */
dt {
  font-weight: 700;
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 24px;
  font-size: 1.12rem;
}
dd {
  margin-bottom: 16px;
  margin-left: 0px;
}
ol {
  list-style: decimal inside;
  margin-bottom: 16px;
}
ol li {
  padding-left: 10px;
  margin-bottom: 8px;
}

/* =================== COOKIE CONSENT BANNER ================= */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  background: linear-gradient(92deg, #184153 92%, #18b7db 110%);
  color: #fff;
  width: 100vw;
  z-index: 2005;
  box-shadow: 0 -4px 30px #18b7db22;
  padding: 22px 20px 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 1.02em;
  animation: slideInBottom 0.46s cubic-bezier(.6,0,.4,1);
}
@keyframes slideInBottom {
  from {transform: translateY(85px);opacity:0;}
  to {transform: translateY(0);opacity:1;}
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
}
.cookie-banner .btn-cookie {
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 1em;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.btn-cookie-accept {
  background: var(--color-electric-green);
  color: #124045;
}
.btn-cookie-accept:hover,
.btn-cookie-accept:focus {
  background: var(--color-yellow);
  color: #184153;
}
.btn-cookie-reject {
  background: #ff3aa3;
  color: #fff;
}
.btn-cookie-reject:hover,
.btn-cookie-reject:focus {
  background: #f44336;
  color: #fff;
}
.btn-cookie-settings {
  background: #60a9a6;
  color: #fff;
}
.btn-cookie-settings:hover,
.btn-cookie-settings:focus {
  background: #184153;
  color: #fff;
}

/* Modal overlay for cookie preferences */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(18,65,83,0.80);
  z-index: 2050;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.28s;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #184153;
  border-radius: 22px;
  max-width: 410px;
  box-shadow: 0 10px 44px #18b7db39;
  padding: 34px 28px 22px 28px;
  width: 90vw;
  font-size: 1.025em;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: modalBounce .48s;
}
@keyframes modalBounce {
  0% { transform: scale(0.94); opacity: 0.6; }
  60% { transform: scale(1.035); opacity: 1; }
  100% { transform: scale(1.0); }
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}
.cookie-modal h3 {
  font-size: 1.25em;
  color: var(--color-primary);
  font-weight: 800;
}
.cookie-modal-close {
  background: #ff3aa3;
  color: #fff;
  border: none;
  font-size: 1.5em;
  border-radius: 6px;
  padding: 6px 16px;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal-close:hover {
  background: var(--color-yellow);
  color: #154151;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.cookie-category-toggle {
  appearance: none;
  width: 44px;
  height: 22px;
  background: #edf7fc;
  border-radius: 18px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-category-toggle:checked {
  background: var(--color-electric-blue);
}
.cookie-category-toggle:after {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 8px #18b7db11;
  transition: left 0.18s;
}
.cookie-category-toggle:checked:after {
  left: 25px;
  background: var(--color-electric-green);
}

/* Disable toggle for essential cookies */
input.cookie-category-toggle[disabled] {
  background: #9eabb5;
  opacity: 0.425;
  cursor: default;
}
input.cookie-category-toggle[disabled]::after {
  background: #ddd;
}

.cookie-modal .cookie-categories {
  margin-top: 12px;
  margin-bottom: 14px;
}

.cookie-modal .modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 20px;
}


/* =================== ANIMATIONS & MICRO-INTERACTIONS ================== */
a, button, input, .btn-primary, .btn-secondary {
  transition: box-shadow 0.16s, filter 0.16s, background 0.17s, color 0.18s, border 0.13s, transform 0.16s;
}

/* =================== RESPONSIVENESS / MEDIA QUERIES ================== */
@media (max-width: 880px) {
  header .container {
    flex-direction: row;
    height: 72px;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 10px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  .footer .content-wrapper,
  footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .section {
    margin-bottom: 34px;
    padding: 20px 8px;
  }
  .content-wrapper {
    padding: 0;
    gap: 16px;
  }
  .feature {
    min-width: 0;
    padding: 18px 10px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 10px;
  }
  .text-section {
    padding: 0 0px;
  }
  .content-grid,
  .card-container,
  .feature-grid,
  .service-list {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
@media (max-width: 580px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 99vw;
    text-align: center;
    margin-left: 0;
    margin-top: 12px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.97em;
    padding: 15px 10px 11px 10px;
  }
  .cookie-banner-buttons {
    width: 100%;
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }
}

/* =================== FORMS (for future-proofing/contact) ================== */
input, textarea, select {
  font-family: inherit;
  font-size: 1em;
  border: 2px solid #d3e5ec;
  border-radius: 7px;
  padding: 10px 14px;
  margin-bottom: 14px;
  outline: none;
  transition: border 0.16s;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-electric-blue);
}

button, input[type="submit"] {
  cursor: pointer;
}

/* =================== ACCESSIBILITY ================== */
:focus {
  outline: 2px dashed #18b7db;
  outline-offset: 2px;
}

/* =================== MISC UTILITY ================== */
.mb-0 {margin-bottom: 0;}
.mt-0 {margin-top: 0;}
.text-center {text-align: center;}
.text-left {text-align: left;}
.text-primary {color: var(--color-primary) !important;}
.text-secondary {color: var(--color-secondary) !important;}
.bg-electric {background: var(--color-electric-blue);} 
.bg-primary {background: var(--color-primary);}

/* ======================= END OF STYLE.CSS ========================== */
