/* 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,
main, 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;
}
html {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #244249;
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fff;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #276578;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #244249;
  outline: none;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
}
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 32px;
}
th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #EFF2F2;
}
th {
  background: #F8F6F2;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* BRAND TYPOGRAPHY */
h1, h2, h3, h4 {
  color: #244249;
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 600;
  line-height: 1.20;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 12px;
}
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.13rem;
  color: #4A666B;
  margin-bottom: 24px;
  line-height: 1.5;
}
p, li {
  margin-bottom: 18px;
}
p:last-child, li:last-child {
  margin-bottom: 0;
}

/* LAYOUT UTILITIES & CONTAINER */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
main {
  margin-top: 24px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* SPACING FOR SECTIONS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: #fff;
}
@media (max-width: 768px) {
  section, .section {
    padding: 32px 0;
    margin-bottom: 40px;
  }
}

/* HERO SECTION */
.hero-section {
  background: #F8F6F2;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(40, 38, 42, 0.04);
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  min-height: 300px;
}
.hero-section .container {
  padding-top: 40px;
  padding-bottom: 40px;
  align-items: center;
}
.hero-section .content-wrapper {
  align-items: flex-start;
}
@media (max-width: 768px) {
  .hero-section {
    margin-bottom: 32px;
    min-height: 180px;
  }
  .hero-section .container {
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

/* BUTTONS */
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background-color: #276578;
  color: #fff;
  border-radius: 40px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 6px rgba(39, 101, 120, 0.07);
  transition: background 0.18s, box-shadow 0.2s, color 0.18s;
  border: none;
  text-align: center;
  margin-top: 20px;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: #153C4A;
  color: #fff;
  box-shadow: 0 3px 16px rgba(39, 101, 120, 0.10);
  outline: none;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(55, 63, 81, 0.03);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}
header img {
  height: 40px;
  width: auto;
  margin-right: 12px;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
nav a {
  font-family: 'Roboto', Arial, sans-serif;
  color: #244249;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-bottom 0.2s;
}
nav a:hover, nav a:focus {
  color: #276578;
  border-bottom: 2px solid #276578;
  outline: none;
}

/* Hide default mobile menu on desktop */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}
@media (max-width: 940px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    background: #F8F6F2;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #244249;
    font-size: 1.7rem;
    border: none;
    box-shadow: 0 2px 8px rgba(39, 101, 120, 0.06);
    transition: background 0.17s;
    margin-left: 10px;
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: #B9D6D2;
    color: #276578;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(250,251,252, 0.98);
  z-index: 1000;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(39,101,120,.13);
  transition: transform 0.37s cubic-bezier(.83,.01,.21,.99);
  transform: translateX(-100vw);
  display: flex;
  flex-direction: column;
  padding: 32px 32px 24px 32px;
  gap: 28px;
}
.mobile-menu.open {
  transform: translateX(0);
  display: flex;
}
.mobile-menu-close {
  align-self: flex-end;
  background: #F8F6F2;
  color: #244249;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.7rem;
  border: none;
  margin-bottom: 16px;
  transition: background 0.17s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1010;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #B9D6D2;
  color: #276578;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #244249;
  font-size: 1.16rem;
  padding: 12px 0 12px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-bottom 0.19s;
  width: 100%;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #276578;
  border-bottom: 2px solid #276578;
}
@media (max-width: 940px) {
  .mobile-menu {
    display: flex;
  }
}
@media (min-width: 941px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* Main CTA always aligned to the right on desktop, full-width on mobile */
@media (max-width: 768px) {
  .btn-primary {
    width: 100%;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
  }
}

/* SECTION PATTERNS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 16px;
  margin-top: 12px;
}
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(39,101,120,0.08);
  padding: 28px 22px 22px 22px;
  min-width: 0;
  flex: 1 1 230px;
}
.feature-item img {
  width: 48px;
  height: 48px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 10px rgba(39,101,120,0.08);
  padding: 28px 22px;
  min-width: 260px;
  max-width: 360px;
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  padding: 20px 30px;
  margin-bottom: 20px;
  border-radius: 14px;
  box-shadow: 0 1px 9px rgba(39,101,120, 0.08);
  border-left: 5px solid #B9D6D2;
  max-width: 600px;
}
.testimonial-card p {
  color: #244249;
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.6;
}
.testimonial-meta {
  color: #22453A;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  display: flex;
  gap: 16px;
  align-items: center;
}
.testimonial-card span:last-child {
  font-size: 1.1rem;
  color: #276578;
  margin-left: 10px;
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-info img {
  width: 21px;
  height: 21px;
  margin-right: 9px;
  vertical-align: middle;
  display: inline-block;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
}

/* TABLES (Preise Page) */
table {
  font-size: 1rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(39,101,120, .05);
  overflow: hidden;
  margin-bottom: 24px;
}
th, td {
  border-bottom: 1px solid #EFF2F2;
}
tr:last-child td {
  border-bottom: none;
}

/* FOOTER */
footer {
  background: #F8F6F2;
  padding: 36px 0;
  border-top: 1px solid #F0EFE9;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  color: #244249;
  margin-bottom: 12px;
}
.footer-brand img {
  width: 38px;
  height: auto;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 180px;
}
.footer-nav a {
  color: #244249;
  font-size: 0.99rem;
  padding: 3px 0;
  transition: color 0.15s;
}
.footer-nav a:hover {
  color: #276578;
  text-decoration: underline;
}
.footer-contact {
  font-size: 0.98rem;
  color: #4A666B;
}
.footer-contact a {
  color: #276578;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 1px solid #B9D6D2;
  box-shadow: 0 -1px 16px rgba(39,101,120,0.06);
  z-index: 2000;
  padding: 20px 32px 20px 32px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  font-size: 1rem;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.17s, transform 0.22s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(80px);
}
.cookie-banner p {
  flex: 3;
  color: #244249;
  margin-bottom: 0;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  flex: 1;
}
.cookie-btn {
  padding: 9px 22px;
  font-size: 1rem;
  border: none;
  border-radius: 22px;
  background: #276578;
  color: #fff;
  font-weight: 500;
  transition: background 0.14s, color 0.14s;
  margin-left: 0px;
  outline: none;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #153C4A;
  color: #fff;
  outline: none;
}
.cookie-btn.secondary {
  background: #B9D6D2;
  color: #244249;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #244249;
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 14px 18px 14px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
  }
}

/* COOKIE MODAL OVERLAY */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(39,101,120,0.17);
  z-index: 2100;
  backdrop-filter: blur(2px);
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 40px rgba(39,101,120,0.08);
  padding: 34px 26px 30px 26px;
  max-width: 420px;
  width: 92vw;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: stretch;
  animation: fadeInUp 0.38s cubic-bezier(.56,.09,.27,.98);
}
@keyframes fadeInUp {
  0% { opacity:0; transform: translateY(60px); }
  100% { opacity:1; transform: translateY(0);
  }
}
.cookie-modal h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-category-toggle {
  width: 38px;
  height: 22px;
  border-radius: 12px;
  background: #B9D6D2;
  position: relative;
  transition: background 0.14s;
  border: none;
  appearance: none;
  outline: none;
}
.cookie-category-toggle[aria-checked="true"] {
  background: #276578;
}
.cookie-category-toggle:before {
  content: "";
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.17s, background 0.17s;
}
.cookie-category-toggle[aria-checked="true"]:before {
  left: 19px;
  background: #F8F6F2;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.cookie-modal .cookie-btn {
  padding: 9px 18px;
  font-size: 0.97rem;
}

/* ACCESSIBILITY */
:focus {
  outline: 2px solid #276578;
  outline-offset: 2px;
}

/* TRANSITIONS & HOVER */
.feature-item, .card, .testimonial-card, table {
  transition: box-shadow 0.18s, border-color 0.17s, background 0.17s;
}
.feature-item:hover, .card:hover, .testimonial-card:hover, table:hover {
  box-shadow: 0 6px 24px rgba(39,101,120,0.14);
}

/* MISC WHITE SPACE UTILITIES */
.mt-24 { margin-top: 24px; }
.mb-24, .mb-32 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.pt-16 { padding-top: 16px; }
.pb-16 { padding-bottom: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-12 { gap: 12px; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .container {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.1rem; }
  .footer-brand { font-size: 1rem; }
  .testimonial-card {
    padding: 16px 14px;
    border-left-width: 4px;
  }
  .feature-item {
    padding: 18px 12px 14px 12px;
  }
  .card, table {
    padding: 16px;
  }
}
@media (max-width: 660px) {
  header .container {
    padding: 0 10px;
    min-height: 62px;
  }
  section {
    padding: 24px 0;
  }
}

/* Hide empty margins on last section */
section:last-child {
  margin-bottom: 0;
}

/* PRINT */
@media print {
  header, footer, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body { background: #fff; color: #222; }
  section, .container { box-shadow: none !important; }
}
