/* FahrKlare Lösung – Minimalist, clean, fully responsive, flexbox-only CSS */

/* CSS RESET & BASELINE */
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 { box-sizing: border-box; } *,
*:before,
*:after { box-sizing: inherit; }

body {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 16px;
  color: #15304B;
  background: #fff;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: #15304B;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #82A23A;
  outline: none;
}

ul, ol {
  margin-left: 1.3em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #15304B;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 { font-size: 2.25rem; margin-bottom: 24px; }
h2 { font-size: 1.5rem; margin-top: 40px; margin-bottom: 20px; }
h3 { font-size: 1.125rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 10px; }
p, ul, ol, dl {
  color: #15304B;
  margin-bottom: 16px;
  font-size: 1rem;
}
strong { font-weight: 700; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.text-section {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --- HEADER & NAV --- */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(21,48,75, 0.06);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 30;
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 16px;
}
header nav {
  display: flex;
  gap: 32px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #15304B;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
header nav a:hover,
header nav a:focus {
  color: #82A23A;
  border-bottom: 2px solid #82A23A;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 10px 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: #82A23A;
  color: #fff;
  border-radius: 24px;
  border: none;
  box-shadow: 0 2px 8px rgba(21,48,75, 0.08);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.25s;
  margin-left: 16px;
  outline: none;
  text-align: center;
  border: 1.5px solid #82A23A;
}
.cta-btn:hover, .cta-btn:focus {
  background: #fff;
  color: #82A23A;
  box-shadow: 0 4px 14px rgba(130, 162, 58, 0.11);
}

/* ---- BURGER MENU ---- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px; right: 18px;
  z-index: 80;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  background: #fff;
  border: none;
  color: #15304B;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(21,48,75, 0.08);
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #f8f9fb;
  box-shadow: 0 4px 12px rgba(21,48,75, 0.12);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: #fff;
  z-index: 100;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.46,.03,.52,.96);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  box-shadow: 0 4px 32px rgba(21,48,75, 0.09);
  padding: 0 0 32px 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 24px 0 0;
  font-size: 2rem;
  background: transparent;
  border: none;
  color: #15304B;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: background 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #F6F7FA;
}
.mobile-nav {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  font-size: 1.15rem;
  color: #15304B;
  font-weight: 500;
  padding: 8px 0;
  border-radius: 6px;
  width: 80%;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F6F7FA;
  color: #82A23A;
}

/* Hide nav/show burger on mobile */
@media (max-width: 992px) {
  header nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 992px) {
  .mobile-menu {
    width: 100vw;
    min-width: 100vw;
    min-height: 100vh;
  }
}

/* --- MAIN & SECTIONS --- */
main {
  background: #fff;
  min-height: 500px;
  display: block;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(21,48,75, 0.05);
  display: block;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 600px) {
  section, .section {
    padding: 28px 6px;
    margin-bottom: 40px;
    border-radius: 10px;
  }
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
  justify-content: space-between;
}
.feature-item {
  background: #F6F7FA;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(21,48,75, 0.05);
  min-width: 220px;
  flex: 1 1 220px;
  transition: box-shadow 0.14s, transform 0.12s;
}
.feature-item:hover {
  box-shadow: 0 6px 32px rgba(130, 162, 58, 0.13);
  transform: translateY(-3px) scale(1.012);
}
.feature-item img { width: 56px; height: 56px; margin-bottom: 8px; }

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 20px;
  position: relative;
  padding: 22px 20px 18px 20px;
  box-shadow: 0 2px 14px rgba(21,48,75, 0.07);
  min-width: 230px;
  flex: 1 1 230px;
  transition: box-shadow 0.16s, transform 0.14s;
}
.card:hover {
  box-shadow: 0 6px 22px rgba(21,48,75, 0.10);
  transform: translateY(-2px) scale(1.01);
}
@media (max-width: 768px) {
  .card, .feature-item {
    min-width: 180px;
    padding: 18px 12px 10px 12px;
  }
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/* Tables */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 20px;
  font-size: 1rem;
  background: #F6F7FA;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(21,48,75, 0.04);
}
th, td {
  padding: 14px 12px;
  border: none;
  text-align: left;
}
th {
  background: #15304B;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
}
td {
  color: #15304B;
  background: #F6F7FA;
  font-weight: 400;
  font-size: 1rem;
}
tr:nth-child(even) td {
  background: #f2f4f7;
}

/* FAQ */
dl {
  margin-bottom: 20px;
}
dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-top: 18px;
}
dd {
  margin-left: 20px;
  margin-bottom: 14px;
  color: #1e324a;
  font-size: 1rem;
  opacity: 0.93;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 18px rgba(21,48,75, 0.08);
  margin-bottom: 24px;
  border-left: 4px solid #82A23A;
  min-width: 230px;
  color: #15304B;
  font-size: 1rem;
  transition: box-shadow 0.14s;
}
.testimonial-card p {
  color: #15304B;
  font-style: italic;
}
.testimonial-card strong {
  color: #15304B;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(130, 162, 58, 0.09);
}

/* --- CONTACT DETAILS --- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 18px;
  margin-bottom: 12px;
  align-items: flex-start;
}
.contact-details div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #15304B;
  font-size: 1rem;
  font-family: 'Source Sans Pro', Arial, sans-serif;
}
.contact-details a {
  color: #15304B;
  font-size: 1rem;
  transition: color 0.15s;
}
.contact-details a:hover, .contact-details a:focus {
  color: #82A23A;
}
.contact-details img {
  width: 24px; height: 24px;
  object-fit: contain;
}

/* --- FOOTER --- */
footer {
  background: #15304B;
  color: #fff;
  padding: 40px 0 16px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: stretch;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: center;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  opacity: 0.9;
  transition: color 0.16s, opacity 0.14s;
}
footer nav a:hover, footer nav a:focus {
  color: #82A23A;
  opacity: 1;
}
.footer-info {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-info span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  color: #fff;
  opacity: 0.97;
}
.footer-info img {
  max-width: 36px;
  height: auto;
}
.social-icons {
  display: flex;
  gap: 16px;
  align-items: center;
}
.social-icons img {
  width: 28px; height: 28px;
  opacity: 0.93;
  transition: opacity 0.2s, transform 0.13s;
}
.social-icons img:hover {
  opacity: 1;
  transform: scale(1.10) translateY(-1px);
}
.copyright {
  color: #fff;
  text-align: center;
  opacity: 0.5;
  font-size: 0.98rem;
  margin-top: 6px;
}

@media (max-width: 840px) {
  footer .footer-info {
    flex-direction: column;
    gap: 10px;
  }
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 160;
  background: #15304B;
  color: #fff;
  padding: 24px 16px;
  box-shadow: 0 -2px 18px rgba(0,0,0,0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 1rem;
  transition: transform 0.33s cubic-bezier(.75,-0.02,.36,1.07), opacity 0.20s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex: 1 1 200px;
  color: #fff;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 8px 22px;
  margin: 0 2px;
  border: none;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.20s, color 0.20s;
}
.cookie-btn.accept {
  background: #82A23A;
  color: #fff;
  border: 1.5px solid #82A23A;
}
.cookie-btn.reject {
  background: #fff;
  color: #15304B;
  border: 1.5px solid #ccc;
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #15304B;
  color: #82A23A;
  border-color: #82A23A;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #f6f7fa;
  color: #576fb2;
  border-color: #dee1ea;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #F6F7FA;
  color: #15304B;
  border-color: #15304B;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 8px 22px 8px;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-actions { width: 100%; gap: 10px; }
}

/* ---- COOKIE SETTINGS MODAL ---- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(21,48,75, 0.30);
  z-index: 200;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.23s cubic-bezier(.39,.87,.32,1.16);
}
.cookie-modal-overlay.hide { opacity: 0; pointer-events: none; }
.cookie-modal {
  background: #fff;
  color: #15304B;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(21,48,75, 0.18);
  max-width: 375px;
  width: 90%;
  padding: 30px 26px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: cookie_modal_intro 0.38s ease;
}
@keyframes cookie_modal_intro { 
  from {transform: scale(0.91) translateY(100px);opacity: 0;}
  to {transform: none;opacity: 1;}
}
.cookie-modal h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 1rem;
}
.cookie-category label {
  font-size: 1rem;
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #82A23A;
  border-radius: 5px;
  border: 1.5px solid #c8cfdc;
}
.cookie-category input[disabled] {
  opacity: 0.5;
  cursor: default;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal-close {
  background: none;
  border: none;
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 1.35rem;
  color: #15304B;
  cursor: pointer;
  border-radius: 50%;
  padding: 4px;
  transition: background 0.15s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #F6F7FA;
}

/* --- MEDIA QUERIES Responsive --- */
@media (max-width: 1100px) {
  .container { max-width: 98vw; }
}
@media (max-width: 768px) {
  header .container, main .container, footer .container {
    padding-left: 9px; padding-right: 9px;
  }
  .features-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  nav { gap: 14px !important; }
}

/* Reduce section spacing & font on very small screens */
@media (max-width: 480px) {
  h1 { font-size: 1.42rem; }
  h2 { font-size: 1.09rem; }
  .cta-btn, .cookie-btn { font-size: 0.96rem; padding: 8px 13px; }
  section { padding: 12px 2px; }
}

/* --- VISUAL FEEDBACK & MICRO-INTERACTIONS --- */
button, .cta-btn, .cookie-btn {
  outline: none;
  transition: box-shadow 0.16s, background 0.17s, color 0.16s, border-color 0.16s, transform 0.13s;
}
button:focus-visible, .cta-btn:focus-visible, .cookie-btn:focus-visible {
  box-shadow: 0 2px 18px rgba(130,162,58, 0.12), 0 0 0 3px #e4ecdf;
  border-color: #a8c256;
}

/* --- ACCESSIBILITY --- */
:focus { outline: none; }
::-webkit-input-placeholder { color: #828fa5; opacity:1; }
::-moz-placeholder { color: #828fa5; opacity:1; }
:-ms-input-placeholder { color: #828fa5; opacity:1; }
::placeholder { color: #828fa5; opacity:1; }

/* --- ADDITIONAL MISC --- */
::-webkit-scrollbar {
  width: 8px;
  background: #f6f7fa;
}
::-webkit-scrollbar-thumb {
  background: #e0e3e8;
  border-radius: 5px;
}

/* --- PRINT RESET --- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  section, .container { box-shadow: none !important; background: #fff !important; }
}
