/* ====== CSS RESET & NORMALIZATION ====== */
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;
}
html {
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
  scroll-behavior: smooth;
  height: 100%;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #203354;
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
}
a {
  background-color: transparent;
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
ul, ol {
  list-style: none;
}
strong, b {
  font-weight: 700;
}

/* ====== BRAND TYPOGRAPHY ====== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  color: #203354;
  margin-bottom: 16px;
  line-height: 1.18;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.05rem;
}
p, ul, ol, blockquote, cite {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #203354;
  margin-bottom: 14px;
}
blockquote {
  font-size: 1.13rem;
  font-style: italic;
  color: #203354;
  margin-left: 0;
  margin-bottom: 10px;
}
cite {
  font-size: 0.95rem;
  color: #647599;
  font-style: normal;
}

.subheadline, .short-intro {
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
  color: #203354;
  opacity: 0.85;
}

/* ====== GENERAL LAYOUT ====== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(32,51,84,0.06);
}

/* ====== HEADER & NAVIGATION ====== */
header {
  background: #fff;
  border-bottom: 1px solid #F4F5F7;
  z-index: 50;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}
.logo img {
  height: 54px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 0;
  color: #203354;
  opacity: 0.87;
  border-radius: 4px;
  transition: background 0.16s, color 0.16s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #F4F5F7;
  color: #E2A200;
  outline: none;
}
.main-nav .cta-btn {
  background: #203354;
  color: #fff;
  padding: 8px 20px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 12px rgba(32,51,84,0.07);
  margin-left: 14px;
  border: none;
  transition: background 0.19s, color 0.19s, box-shadow 0.19s;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: #E2A200;
  color: #203354;
  box-shadow: 0 4px 16px rgba(226,162,0,0.14);
}

/* ====== MOBILE NAVIGATION ====== */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(0.77,0.2,0.05,1.0);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 0 0 0;
  box-shadow: 0 2px 16px rgba(32,51,84,0.09);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  color: #203354;
  border: none;
  align-self: flex-end;
  margin: 24px 28px 0 0;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #E2A200;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 36px 36px 0 36px;
  align-items: flex-start;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #203354;
  border-radius: 5px;
  padding: 10px 0;
  margin-bottom: 2px;
  font-weight: 400;
  transition: color 0.16s, background 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4F5F7;
  color: #E2A200;
  outline: none;
}
.mobile-nav .cta-btn {
  background: #203354;
  color: #fff;
  font-size: 1.11rem;
  padding: 10px 24px;
  border-radius: 24px;
  font-weight: 700;
  margin-top: 12px;
  box-shadow: 0 2px 12px rgba(32,51,84,0.08);
  transition: background 0.2s, color 0.2s;
}
.mobile-nav .cta-btn:hover, .mobile-nav .cta-btn:focus {
  background: #E2A200;
  color: #203354;
}

@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
}

@media (max-width: 900px) {
  .main-nav {
    gap: 18px;
  }
  header .container {
    gap: 10px;
  }
}

@media (max-width: 890px) {
  .main-nav {
    gap: 13px;
  }
  .main-nav .cta-btn {
    padding: 8px 13px;
  }
}

@media (max-width: 820px) {
  .main-nav {
    gap: 0;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    font-size: 2.1rem;
    background: none;
    border: none;
    color: #203354;
    cursor: pointer;
    margin-left: 12px;
    padding: 2px 6px 2px 6px;
    border-radius: 6px;
    z-index: 10000;
    transition: background 0.15s, color 0.13s;
  }
  .mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
    color: #E2A200;
    background: #F4F5F7;
  }
}

@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ====== HERO & CTA BUTTONS ====== */
.cta-btn {
  display: inline-block;
  background: #E2A200;
  color: #203354;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 1.06rem;
  padding: 12px 30px;
  border-radius: 30px;
  margin-top: 8px;
  margin-bottom: 8px;
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.13s;
  box-shadow: 0 2px 10px rgba(32,51,84,0.09);
  cursor: pointer;
  text-align: center;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #203354;
  color: #fff;
  box-shadow: 0 4px 18px rgba(32,51,84,0.12);
  outline: none;
}

/* ====== FLEXBOX LAYOUTS ONLY ====== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(32,51,84,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 20px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  min-width: 270px;
  transition: box-shadow 0.17s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 5px 22px rgba(32,51,84,0.13);
}

.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: #F4F5F7;
  border-radius: 14px;
  margin-bottom: 22px;
  box-shadow: 0 2px 10px rgba(32,51,84,0.07);
  flex: 1 1 320px;
  max-width: 560px;
  flex-direction: column;
  transition: box-shadow 0.22s, background 0.15s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 4px 20px rgba(32,51,84,0.13);
  background: #fff;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Feature grid (used on home) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin: 36px 0 6px 0;
}
.feature-grid > div {
  flex: 1 1 230px;
  min-width: 210px;
  max-width: 340px;
  background: #F4F5F7;
  border-radius: 14px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.22s, background 0.15s;
  box-shadow: 0 2px 10px rgba(32,51,84,0.09);
}
.feature-grid > div:hover {
  background: #fff;
  box-shadow: 0 4px 18px rgba(226,162,0,0.13);
}
.feature-grid img {
  width: 36px;
  margin-bottom: 14px;
}
.feature-grid h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #203354;
}
.feature-grid p {
  color: #203354;
  opacity: 0.83;
  margin-bottom: 0;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 24px;
}
.services-list li {
  background: #F4F5F7;
  color: #203354;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 1rem;
  min-width: 160px;
  margin-bottom: 0;
  margin-right: 0;
}

/* Testimonial Cards (kundenbewertungen page) */
.testimonial-card blockquote {
  font-size: 1.15rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #203354;
  margin-bottom: 10px;
  font-style: italic;
  line-height: 1.55;
}
.testimonial-card cite {
  color: #647599;
  font-size: 0.97rem;
  font-style: normal;
}

/* Review Section */
.review-summary, .stars-display {
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: #203354;
  display: flex;
  align-items: center;
  gap: 10px;
}
.stars-display img {
  width: 26px;
  height: 26px;
  margin-right: 2px;
}
.platform-links {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: center;
}
.platform-links a {
  font-size: 1rem;
  color: #203354;
  opacity: 0.95;
  transition: color 0.17s;
}
.platform-links a:hover, .platform-links a:focus {
  color: #E2A200;
  outline: none;
}

.map-placeholder {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 20px auto;
  border-radius: 10px;
  overflow: hidden;
  background: #F4F5F7;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  box-shadow: 0 2px 8px rgba(32,51,84,0.06);
}

/* ====== FOOTER ====== */
footer {
  background: #F4F5F7;
  padding: 40px 0 18px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #203354;
  opacity: 0.85;
  font-size: 1rem;
  border-radius: 4px;
  padding: 6px 0;
  transition: color 0.15s, background 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #E2A200;
  background: #fffbe8;
  outline: none;
}
.brand-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4em;
  color: #647599;
  font-size: 0.98rem;
  opacity: 0.97;
}
.brand-info img {
  width: 38px;
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    padding-left: 0;
    padding-right: 0;
  }
}

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10999;
  width: 100vw;
  padding: 24px 20px;
  background: #fff;
  box-shadow: 0 -2px 32px rgba(32,51,84,0.11);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.38s;
}
.cookie-banner.hide {
  transform: translateY(130%);
}
.cookie-banner p {
  color: #203354;
  font-size: 15px;
  margin-bottom: 6px;
  margin-right: 40px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}
.cookie-banner button,
.cookie-banner .cookie-settings-btn {
  background: #203354;
  color: #fff;
  border-radius: 24px;
  border: none;
  padding: 9px 22px;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-right: 10px;
  cursor: pointer;
  transition: background 0.15s, color 0.14s;
  box-shadow: 0 2px 8px rgba(32,51,84,0.05);
}
.cookie-banner button.accept {
  background: #E2A200;
  color: #203354;
}
.cookie-banner button.reject {
  background: #203354;
  color: #fff;
}
.cookie-banner .cookie-settings-btn {
  background: #F4F5F7;
  color: #203354;
  padding: 9px 18px;
}
.cookie-banner button:hover,
.cookie-banner .cookie-settings-btn:hover,
.cookie-banner button:focus,
.cookie-banner .cookie-settings-btn:focus {
  opacity: 0.88;
  outline: none;
}
@media (max-width: 540px) {
  .cookie-banner {
    padding: 16px 7px;
    gap: 10px;
  }
}

/* ====== COOKIE CONSENT MODAL ====== */
.cookie-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,51,84,0.22);
  z-index: 13000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.32s;
  opacity: 1;
}
.cookie-modal-overlay.hide {
  pointer-events: none;
  opacity: 0;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 32px rgba(32,51,84,0.12);
  padding: 36px 32px;
  min-width: 320px;
  max-width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: fadeInUp 0.3s cubic-bezier(0.57,1,0.72,1.02);
}
@keyframes fadeInUp {0% {transform: translateY(40px); opacity: 0;} 100% {transform: translateY(0); opacity: 1;}}
.cookie-modal h2 {
  margin-bottom: 12px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 1.6rem;
  color: #203354;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal .close-modal:hover {
  color: #E2A200;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.cookie-category label {
  font-size: 1.12rem;
  font-weight: 500;
  color: #203354;
}
.cookie-category input[type="checkbox"] {
  width: 24px;
  height: 24px;
  accent-color: #E2A200;
  border-radius: 6px;
}
.cookie-category.essential label {
  opacity: 0.65;
  cursor: not-allowed;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 8px;
}
.cookie-modal .cookie-modal-actions button {
  background: #203354;
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 9px 30px;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: background .16s;
}
.cookie-modal .cookie-modal-actions .accept {
  background: #E2A200;
  color: #203354;
}
.cookie-modal .cookie-modal-actions .reject {
  background: #647599;
  color: #fff;
}
.cookie-modal .cookie-modal-actions button:hover, .cookie-modal .cookie-modal-actions button:focus {
  opacity: 0.86;
  outline: none;
}

@media (max-width: 540px){
  .cookie-modal{
    padding: 26px 7px 12px 7px;
    min-width: 0;
  }
}

/* ====== GENERIC STYLES & SPACING ====== */
ul, ol {
  margin-bottom: 18px;
  padding-left: 22px;
}
ul li, ol li {
  margin-bottom: 9px;
  font-size: 1rem;
  color: #203354;
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}
li strong {
  font-weight: 600;
}

main {
  min-height: 52vh;
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 1020px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }
  .container { padding-left: 12px; padding-right: 12px; }
  .feature-grid {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature-grid > div {
    width: 100%;
    max-width: 100%;
  }
}
@media (max-width: 820px) {
  .section { padding: 22px 5px; }
  .testimonial-card { padding: 15px; }
  .feature-grid > div {
    padding: 20px 10px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1rem; }
  .section { padding: 16px 4px; margin-bottom: 28px; }
  .feature-grid {
    flex-direction: column;
    gap: 10px;
    margin: 14px 0 6px 0;
  }
  .feature-grid > div {
    min-width: 0;
    padding: 16px 5px;
  }
  .testimonials-list, .card-container, .content-grid {
    flex-direction: column !important;
    gap: 13px;
  }
  .testimonial-card {
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}

/* Ensure Flexbox on all main content grids */
@media (max-width: 900px){
  .card-container, .content-grid { flex-direction: column; gap: 20px; }
}

/* ====== UTILITIES ====== */
.hide { display: none !important; }
.text-center { text-align: center !important; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }

/* ====== ACCESSIBILITY ====== */
:focus-visible {
  outline: 2px solid #E2A200;
  outline-offset: 2px;
}

/* ====== ANIMATIONS ====== */
.cta-btn, .feature-grid > div, .card, .testimonial-card, .services-list li {
  transition: box-shadow .14s, background .11s, color .13s, border .09s;
}

/* ====== END ====== */
