/* 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F6F8F9;
  color: #17324D;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
ul, ol {
  list-style: none;
}
a { color: inherit; text-decoration: none; transition: color 0.25s; }
img { max-width: 100%; height: auto; display: block; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: 12px 16px; border-bottom: 1px solid #e3e7eb; text-align: left; }

/* BRAND FONTS -- load via HTML or @import */
:root {
  --color-primary: #17324D;
  --color-secondary: #4CA973;
  --color-accent: #F6F8F9;
  --color-dark: #102132;
  --color-white: #fff;
  --color-border: #e3e7eb;
  --color-grey: #8E9BAA;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* GEOMETRIC TYPOGRAPHY & HEADINGS */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-primary);
}
h1 { font-size: 2.75rem; line-height: 1.1; margin-bottom: 20px; text-transform: uppercase; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 16px; text-transform: uppercase; }
h3 { font-size: 1.25rem; line-height: 1.25; margin-bottom: 12px; }
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
p, li, span, label, dt, dd {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-dark);
  font-size: 1rem;
  margin-bottom: 8px;
}
small { font-size: 0.92rem; color: var(--color-grey); }
strong { font-weight: 700; }

/* LAYOUT: STRUCTURED GEOMETRY */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(23,50,77,0.06);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* HEADER & NAVIGATION */
header {
  background: var(--color-primary);
  min-height: 70px;
  width: 100%;
  color: var(--color-white);
  position: relative;
  z-index: 50;
  box-shadow: 0 2px 14px rgba(23,50,77,0.09);
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 16px 16px 16px 12px;
}
header img {
  height: 40px;
  margin-right: 18px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 8px 0px;
  font-weight: 600;
  color: var(--color-white);
  text-transform: uppercase;
  border-bottom: 2.5px solid transparent;
  transition: border 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-secondary);
  border-bottom: 2.5px solid var(--color-secondary);
}
.cta-btn {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--color-secondary);
  color: var(--color-white);
  border: none;
  border-radius: 10px;
  padding: 12px 28px;
  box-shadow: 0 2px 10px rgba(76,169,115,0.10);
  letter-spacing: 0.08em;
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.2s, transform 0.18s, box-shadow 0.2s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #38895d;
  color: #fff;
  transform: translateY(-2px) scale(1.04) rotate(-0.5deg);
  box-shadow: 0 4px 18px 0 rgba(76,169,115,0.10);
}
.cta-btn.secondary {
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-secondary);
  margin-left: 0;
}
.cta-btn.secondary:hover {
  background: var(--color-secondary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 22px;
  background: var(--color-secondary);
  color: var(--color-white);
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  font-size: 2rem;
  z-index: 220;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(76,169,115,0.16);
  cursor: pointer;
  transition: background 0.18s, transform 0.13s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #38895d;
  outline: none;
  transform: scale(0.98);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 40px;
  padding-bottom: 32px;
  position: fixed;
  z-index: 300;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-primary);
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(0.8,0.1,0.25,1.09);
  box-shadow: 0 0 32px rgba(23,50,77,0.12);
  opacity: 0.99;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: var(--color-secondary);
  border: none;
  font-size: 2.4rem;
  position: absolute;
  top: 22px;
  right: 22px;
  cursor: pointer;
  z-index: 900;
  transition: color 0.18s, transform 0.13s;
  padding: 4px 12px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
  background: rgba(76, 169, 115, 0.14);
  border-radius: 6px;
  transform: scale(1.09);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 44px;
  width: 100%;
  align-items: flex-start;
  padding-left: 38px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.33rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  padding: 10px 0;
  width: 100%;
  transition: color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  background: rgba(76,169,115,.08);
  border-radius: 9px;
}

@media (max-width: 1024px) {
  .main-nav { gap: 16px; }
  .cta-btn { margin-left: 10px; }
}
@media (max-width: 900px) {
  .main-nav, header .cta-btn { display: none; }
  .mobile-menu-toggle { display: flex; }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 13px;
    justify-content: space-between;
    align-items: center;
    padding: 10px 8px 10px 4px;
  }
}

/* HERO SECTION */
.hero {
  background: linear-gradient(93deg, #F6F8F9 65%, #e5efe8 90%);
  border-radius: 0 0 44px 44px;
  box-shadow: 0 10px 35px -8px rgba(76,169,115,0.06);
  padding: 45px 0 35px 0;
  margin-bottom: 40px;
}
.hero .container {
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  gap: 18px;
  max-width: 600px;
  text-align: left;
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.5rem;
  color: var(--color-primary);
}
@media (max-width:768px) {
  .hero {
    padding: 25px 0 20px 0;
    border-radius: 0 0 28px 28px;
  }
  .hero .container, .hero .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .hero h1 {
    font-size: 2rem;
  }
}

/* FEATURE GRID */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  width: 100%;
}
.feature {
  flex: 1 1 185px;
  min-width: 185px;
  padding: 28px 18px 20px 18px;
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: 0 3px 12px 0 rgba(23,50,77,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border-bottom: 4px solid var(--color-secondary);
  transition: transform 0.22s, box-shadow 0.22s;
  margin-bottom: 20px;
}
.feature:hover {
  transform: translateY(-5px) scale(1.024) rotate(-1deg);
  box-shadow: 0 8px 30px 0 rgba(76,169,115,0.15);
}
.feature img { width: 38px; height: 38px; }
.feature h3 {
  color: var(--color-primary);
  margin-bottom: 0;
  font-size: 1.12rem;
  font-family: var(--font-display);
  font-weight: 700;
}
.feature p { margin-bottom: 0; font-size: 0.98rem; line-height: 1.45; }

@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature {
    min-width: unset;
    margin-bottom: 0;
  }
}

/* SECTION, CARD & FLEX UTILITIES */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 2px 14px rgba(23,50,77,0.06);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 240px;
  min-width: 220px;
  transition: transform 0.19s, box-shadow 0.13s;
}
.card:hover {
  transform: scale(1.018);
  box-shadow: 0 8px 26px 0 rgba(23,50,77,0.10);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.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(--color-white);
  border-radius: 16px;
  box-shadow: 0 3px 14px rgba(23,50,77,0.07);
  margin-bottom: 24px;
  border-left: 5px solid var(--color-secondary);
  max-width: 580px;
  position: relative;
  font-size: 1.08rem;
}
.testimonial-card span {
  color: var(--color-grey);
  font-size: 0.98rem;
  font-style: italic;
  margin-bottom: 0;
}
.overall-rating {
  font-size: 1.25rem;
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-weight: 700;
  padding-top: 10px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 900px) {
  .card-container, .content-grid { flex-direction: column; }
}
@media (max-width: 768px) {
  .section { padding: 28px 8px; margin-bottom: 36px; }
  .content-wrapper { gap: 16px; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .card { padding: 20px 12px; min-width: unset; }
}

/* SERVICE LISTS (LEISTUNGEN) */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  margin-bottom: 16px;
}
.service-item {
  flex: 1 1 225px;
  min-width: 220px;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 3px 13px 0 rgba(23,50,77,0.07);
  padding: 28px 16px 18px 16px;
  border-bottom: 4px solid var(--color-secondary);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.18s, box-shadow 0.12s;
}
.service-item:hover {
  transform: translateY(-3px) scale(1.014);
  box-shadow: 0 8px 24px rgba(76,169,115,0.11);
}
.service-item img { width: 34px; height: 34px; }
.service-item h3 { font-size: 1.13rem; margin-bottom: 3px; }
.service-item p {
  font-size: 0.98rem;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .service-list { flex-direction: column; gap: 14px; }
  .service-item { min-width: unset; margin-bottom: 0; }
}

.service-benefits ul {
  margin-top: 8px;
  margin-left: 18px;
  padding-left: 0;
}
.service-benefits li::before {
  content: '';
  display: inline-block;
  background: var(--color-secondary);
  width: 10px; height: 10px;
  border-radius: 2px;
  margin-right: 10px;
  vertical-align: middle;
}

/* TABLES */
table {
  border-radius: 14px;
  overflow: hidden;
  background: var(--color-white);
  font-family: var(--font-body);
  margin: 12px 0 18px 0;
  box-shadow: 0 2px 10px 0 rgba(23,50,77,0.06);
}
th {
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 700;
  border-bottom: 3px solid var(--color-secondary);
}
td {
  color: var(--color-dark);
  font-size: 1rem;
}
@media (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }
  th, td {
    padding: 10px 8px;
    text-align: left;
  }
  th { border-bottom: none; }
  tr { margin-bottom: 6px; }
}

/* CONTACT & LOCATION */
.public-transport ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.map-desc {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
  margin-bottom: 8px;
}
.map-desc img {
  width: 26px;
}

/* LEGAL TEXT, TEXT SECTION */
.legal-text, .text-section {
  font-size: 1rem;
  color: var(--color-dark);
  line-height: 1.6;
  background: var(--color-accent);
  border-radius: 12px;
  padding: 20px 16px;
}
.text-section ul {
  margin-top: 6px;
  margin-left: 17px;
  padding-left: 0;
  line-height: 1.61;
}
.text-section li {
  margin-bottom: 6px;
  padding-left: 6px;
}
.text-section img {
  width: 18px;
  height: 18px;
  vertical-align: text-bottom;
  margin-right: 6px;
}

/* FOOTER */
footer {
  background: var(--color-primary);
  color: var(--color-white);
  width: 100%;
  padding: 38px 0 16px 0;
}
footer .container {
  flex-direction: column;
  padding: 0 16px;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}
.branding {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
}
.branding img {
  width: 50px;
}
.footer-menus, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 6px;
}
.footer-nav a {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 0.97rem;
  opacity: 0.98;
  transition: color 0.15s, opacity .13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
  opacity: 1;
}
.footer-contact {
  font-size: 0.99rem;
}
.footer-contact a {
  color: var(--color-secondary);
  text-decoration: underline;
  transition: color .14s;
}
.footer-contact a:hover, .footer-contact a:focus { color: #45a163; }
@media (max-width: 900px) {
  .footer-wrapper { flex-direction: column; gap: 20px; }
  .branding { margin-bottom: 6px; }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--color-white);
  border-top: 3px solid var(--color-secondary);
  box-shadow: 0 -1px 24px rgba(23,50,77,0.08);
  padding: 22px 20px 18px 20px;
  z-index: 2100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 1rem;
  animation: cookiefadein 0.5s;
}
.cookie-banner__text {
  flex: 2 1 220px;
  color: var(--color-dark);
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  flex: 1 1 180px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-btn,
.cookie-banner .cta-btn {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  background: var(--color-secondary);
  color: var(--color-white);
  border: none;
  border-radius: 7px;
  padding: 8px 22px;
  cursor: pointer;
  transition: background 0.17s, transform 0.13s;
  margin-right: 5px;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #38895d;
  color: #fff;
  transform: translateY(-1.5px);
}
.cookie-btn.reject {
  background: #e7e7e7;
  color: var(--color-primary);
  border: 1px solid #a2adbb;
  font-weight: 600;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #f0f0f0;
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}
.cookie-btn.settings {
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #273f56;
}

@keyframes cookiefadein {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 11px;
    padding: 18px 8px 14px 8px;
    font-size: 0.98rem;
    align-items: flex-start;
  }
  .cookie-banner__actions {
    width: 100%;
    justify-content: flex-start;
    gap: 9px;
    margin-top: 8px;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2200;
  background: rgba(23,50,77, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
  animation: fadetoast 0.36s;
}
@keyframes fadetoast {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 13px 58px rgba(23,50,77,0.18);
  padding: 32px 27px 26px 27px;
  max-width: 400px;
  width: 97vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal__header {
  font-family: var(--font-display);
  font-size: 1.32rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 6px;
}
.cookie-modal__group {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 14px;
  gap: 11px;
}
.cookie-modal__label {
  font-size: 1rem;
  color: var(--color-dark);
  font-family: var(--font-body);
  font-weight: 600;
}
.cookie-modal__toggle {
  margin-left: auto;
  min-width: 44px;
}
/* Custom switch */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
}
.cookie-switch input { opacity: 0; width: 0; height: 0; }
.cookie-switch .slider {
  position: absolute; cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #e0e3e8;
  border-radius: 17px;
  transition: background 0.18s;
}
.cookie-switch input:checked + .slider {
  background: var(--color-secondary);
}
.cookie-switch .slider:after {
  content: "";
  position: absolute;
  left: 4px; top: 4px; width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(23,50,77,0.08);
  transition: transform 0.17s, background 0.1s;
}
.cookie-switch input:checked + .slider:after {
  transform: translateX(20px);
}
/* Modal close button */
.cookie-modal__close {
  position: absolute;
  top: 10px; right: 14px;
  background: transparent;
  border: none;
  color: var(--color-secondary);
  font-size: 1.45rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 7px;
  transition: color 0.19s, background 0.11s;
  display: flex; align-items: center; justify-content: center;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #e6ede7;
  color: #38895d;
}
.cookie-modal__actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal__actions .cookie-btn {
  min-width: 95px;
}
.cookie-modal__desc {
  font-size: 0.97rem;
  color: var(--color-grey);
  margin-bottom: 10px;
}

@media (max-width:600px) {
  .cookie-modal { padding: 18px 8px 18px 8px; }
}

/* ACCESSIBILITY & FOCUS */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(76,169,115,.15);
}

/* MISC. UI ELEMENTS */
dt { font-weight: 700; color: var(--color-primary); margin-top: 9px; }
dd { margin-bottom: 6px; }
.overall-rating strong { color: var(--color-primary); }

/* SPACING PATTERNS / GAP / NO OVERLAPS */
.section, .card, .feature, .service-item, .testimonial-card {
  margin-bottom: 20px;
}
.content-grid, .card-container, .feature-grid, .service-list {
  gap: 20px;
}

/* BUTTONS & INTERACTIVES */
button, .cta-btn, .cookie-btn {
  transition: background 0.2s, color 0.2s, transform .12s;
  user-select: none;
}

/* RESPONSIVE LAYOUTS (FLEXBOX ONLY) */
@media (max-width: 900px) {
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  .footer-wrapper, .content-grid, .card-container,
  .feature-grid, .service-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
}

/* PRINT OVERRIDES */
@media print {
  header, footer, .mobile-menu-toggle, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body { background: #fff; color: #222; }
}
