/* Frankfurt ZeitWert – Minimalist Style (Flexbox-Only, Mobile-first, Responsive, Cookie + Mobile Menu) */

/* ========================
   1. CSS Reset & Normalize
   ======================== */
html {
  box-sizing: border-box;
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background: #F8F7F3;
  color: #263238;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #7CAD57;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #263238;
}
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 18px;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #263238;
}
h1 { font-size: 2.25rem; margin-bottom: 16px; }
h2 { font-size: 1.5rem; margin-bottom: 16px; }
h3 { font-size: 1.2rem; margin-bottom: 12px; }

p, .text-section {
  margin-bottom: 20px;
}

sub, sup {
  font-size: 80%;
}

/* ========================
   2. Layout Containers
   ======================== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Card Grids / Flex Layouts */
.card-container, .feature-grid, .tip-grid, .testimonial-slider, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid, .card-grid, .tip-grid, .content-grid {
  justify-content: flex-start;
}
.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;
    gap: 20px;
  }
  .content-wrapper {
    gap: 16px;
  }
}

/* ========================
   3. Header & Navigation
   ======================== */
header {
  position: relative;
  background: #fff;
  border-bottom: 1px solid #eaeaea;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 16px;
}
.logo-link img {
  height: 40px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #263238;
  padding: 4px 10px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F8F7F3;
  color: #7CAD57;
}

.cta-btn {
  background: #7CAD57;
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  padding: 12px 32px;
  border: none;
  border-radius: 24px;
  font-size: 1rem;
  box-shadow: 0 2px 12px 0 rgba(38,50,56,0.06);
  cursor: pointer;
  margin-left: 12px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  outline: none;
  text-align: center;
  display: inline-block;
  text-decoration: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #263238;
  color: #fff;
  box-shadow: 0 3px 16px 0 rgba(38,50,56,0.14);
}

/* Mobile Menu Button */
.mobile-menu-toggle {
  background: none;
  color: #263238;
  border: none;
  font-size: 2rem;
  padding: 8px 14px;
  display: none;
  cursor: pointer;
  z-index: 1021;
  border-radius: 4px;
  transition: background .18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #F8F7F3;
}

/* Responsive Navigation */
@media (max-width: 1050px) {
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 2001;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.82,.02,.31,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 3px 0 24px 0 rgba(38,50,56,0.09);
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #263238;
  font-size: 2rem;
  align-self: flex-end;
  margin: 18px 22px 8px 0;
  cursor: pointer;
  z-index: 2010;
  transition: color .22s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #7CAD57;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin: 24px 0 0 34px;
}
.mobile-nav a {
  font-size: 1.15rem;
  font-family: "Montserrat", Arial, sans-serif;
  color: #263238;
  padding: 12px 0 8px 0;
  border-bottom: 1px solid #F0F0F0;
  width: fit-content;
  font-weight: 500;
  transition: color 0.18s, border-color 0.15s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #7CAD57;
  border-bottom: 1px solid #7CAD57;
}

@media (max-width: 480px) {
  .mobile-menu-close { font-size: 1.75rem; margin-right: 10px; margin-top: 8px; }
  .mobile-nav { margin-left: 18px; }
}

/* ========================
   4. Hero Section
   ======================== */
.hero {
  background: #F8F7F3;
  min-height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 0 56px 0;
  box-shadow: 0 2px 32px rgba(38,50,56,0.04);
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.2rem;
  margin: 0 0 14px 0;
}
.hero .subheadline {
  color: #7CAD57;
  font-size: 1.18rem;
  margin-bottom: 22px;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 500;
}
@media (max-width: 600px) {
  .hero { padding: 32px 0 30px 0; min-height: 190px; }
  .hero h1 { font-size: 1.45rem; }
}

/* ========================
   5. Features & Cards
   ======================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(38,50,56,0.04);
  padding: 22px 22px 18px 22px;
  flex: 1 1 220px;
  max-width: 250px;
  min-width: 180px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow .17s;
}
.feature-item img {
  height: 36px;
  width: 36px;
}
.feature-item h3 {
  color: #263238;
  font-size: 1.08rem;
  margin-bottom: 4px;
}
.feature-item p {
  color: #576065;
  font-size: 1rem;
  margin-bottom: 0;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 4px 36px 0 rgba(38,50,56,0.11);
}

.card-container, .card-grid {
  margin-bottom: 24px;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(38,50,56,0.07);
  padding: 26px 22px;
  margin-bottom: 20px;
  flex: 1 1 220px;
  min-width: 190px;
  transition: box-shadow .16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 32px 0 rgba(38,50,56,0.18);
}

/* Tip Grid (Features) */
.tip-grid {
  gap: 24px;
  flex-wrap: wrap;
  display: flex;
  margin: 24px 0;
}
.tip-grid > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(38,50,56,0.05);
  padding: 24px 20px;
  min-width: 210px;
  flex: 1 1 200px;
}
.tip-grid h3 {
  font-size: 1.1rem;
}
@media (max-width: 900px) {
  .feature-item, .tip-grid > div { flex: 1 1 100%; max-width: 100%; min-width: 0; }
  .feature-grid, .tip-grid { gap: 16px; }
}

/* ========================
   6. Services & Price Tags
   ======================== */
.service-list {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 24px;
  list-style: none;
}
.service-list li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(38,50,56,0.03);
  padding: 26px 22px 20px 22px;
  flex: 1;
  min-width: 190px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 4px solid #7CAD57;
  transition: box-shadow .16s;
}
.service-list li:hover, .service-list li:focus-within {
  box-shadow: 0 12px 48px 0 rgba(38,50,56,0.12);
}
.service-list h3 { margin-bottom: 4px; font-size: 1.08rem; font-family: "Montserrat", Arial, sans-serif; }
.service-list .service-price { margin-top: 4px; color: #7CAD57; font-weight: 700; letter-spacing: 0.01em; font-size: 1rem; }
.service-price {
  color: #7CAD57;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 6px;
}

/* ========================
   7. Testimonials
   ======================== */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.testimonial-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 18px 0 rgba(38,50,56,0.11);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px 26px 18px 26px;
  min-width: 230px;
  flex: 1 1 280px;
  margin-bottom: 20px;
  transition: box-shadow .19s;
}
.testimonial-card p {
  font-size: 1.05rem;
  color: #263238;
  text-align: center;
}
.testimonial-meta {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.98rem;
  color: #7CAD57;
  margin-top: 2px;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 8px 36px 0 rgba(38,50,56,0.19);
}

@media (max-width: 900px) {
  .testimonial-slider { gap: 16px; }
  .testimonial-card { min-width: 160px; flex: 1 1 90%; }
}

/* ========================
   8. CTA Blocks
   ======================== */
.cta {
  background: #7CAD57;
  color: #fff;
  box-shadow: 0 2px 22px 0 rgba(124,173,87,0.07);
  border-radius: 14px;
  margin-bottom: 60px;
  padding: 44px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.cta h2 {
  color: #fff;
  margin-bottom: 18px;
}
.cta-btn {
  background: #fff;
  color: #7CAD57;
  border-radius: 24px;
  border: none;
  padding: 12px 32px;
  font-size: 1.06rem;
  font-weight: 700;
  margin-bottom: 12px;
  transition: background .16s, color .16s, box-shadow .16s;
  box-shadow: 0 2px 18px 0 rgba(38,50,56,0.06);
}
.cta-btn:hover, .cta-btn:focus {
  background: #263238;
  color: #fff;
}
.cta-support {
  color: #fff;
  font-size: 1rem;
  font-family: "Roboto", Arial, sans-serif;
}

/* ========================
   9. Contact, About, Thank You
   ======================== */
.address-block {
  line-height: 1.65;
  margin-bottom: 26px;
  color: #263238;
  font-size: 1rem;
}
.email-link a {
  font-weight: bold;
  color: #7CAD57;
}
.text-section {
  margin-bottom: 24px;
}

/* ========================
   10. Footer
   ======================== */
footer {
  background: #fff;
  border-top: 1px solid #eaeaea;
  margin-top: 40px;
  font-size: 1rem;
  color: #263238;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 32px 20px 30px 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  color: #263238;
  font-size: 0.99rem;
  padding: 3px 0;
  transition: color 0.16s;
}
.footer-links a:hover, .footer-links a:focus {
  color: #7CAD57;
}
.footer-contact {
  font-size: 0.98rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  align-items: center;
}
.footer-contact a { color: #7CAD57; font-weight: 500; }
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-social img {
  height: 24px;
  width: 24px;
  filter: grayscale(1) opacity(0.82);
  transition: filter 0.2s;
}
.footer-social a:hover img, .footer-social a:focus img {
  filter: none;
}

@media (max-width: 880px) {
  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 24px 0;
  }
  .footer-links, .footer-social, .footer-contact {
    margin-bottom: 0;
    margin-right: 0;
  }
}

/* ========================
   11. Cookie Consent Banner
   ======================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  box-shadow: 0 -2px 18px 0 rgba(38,50,56,0.06);
  padding: 26px 24px 18px 24px;
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  border-radius: 18px 18px 0 0;
  opacity: 1;
  transition: opacity 0.26s, bottom 0.32s;
}
.cookie-banner.hide {
  opacity: 0;
  bottom: -110px;
  pointer-events: none;
}
.cookie-banner .cookie-message {
  color: #263238;
  font-size: 1rem;
  margin-right: 22px;
  flex: 0 1 440px;
  font-family: "Roboto", Arial, sans-serif;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}
.cookie-btn {
  border: none;
  border-radius: 24px;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 28px;
  cursor: pointer;
  box-shadow: 0 1px 8px 0 rgba(38,50,56,0.07);
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  background: #F8F7F3;
  color: #263238;
}
.cookie-btn.accept {
  background: #7CAD57;
  color: #fff;
}
.cookie-btn.reject {
  border: 1.5px solid #d8d8d8;
  background: #fff;
  color: #263238;
}
.cookie-btn.settings {
  background: #263238;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  box-shadow: 0 6px 20px 0 rgba(38,50,56,0.17);
  background: #F8F7F3;
  color: #7CAD57;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #263238;
  color: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #7CAD57;
  color: #fff;
}
@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 10px 14px 10px;
    font-size: 0.97rem;
    border-radius: 10px 10px 0 0;
  }
  .cookie-banner .cookie-message {
    margin-right: 0;
    flex-basis: unset;
  }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  bottom: 0; left: 0; right: 0; top: 0;
  background: rgba(38,50,56,0.22);
  z-index: 4100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal .modal-content {
  background: #fff;
  border-radius: 18px;
  padding: 34px 32px 24px 32px;
  min-width: 280px;
  max-width: 98vw;
  box-shadow: 0 8px 38px 0 rgba(38,50,56,0.21);
  color: #263238;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal .modal-title {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 11px 0;
}
.cookie-category label {
  font-size: 1.06rem;
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  accent-color: #7CAD57;
  width: 22px;
  height: 22px;
  vertical-align: middle;
}
.cookie-category .always-on {
  display: inline-block;
  color: #7CAD57;
  font-size: 0.95rem;
  margin-left: 5px;
  font-style: italic;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
}
.cookie-modal .modal-close {
  background: none;
  border: none;
  color: #263238;
  font-size: 1.5rem;
  position: absolute;
  top: 16px; right: 18px;
  cursor: pointer;
  transition: color .18s;
  z-index: 4200;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: #7CAD57;
}
@media (max-width: 530px) {
  .cookie-modal .modal-content { min-width: 95vw; padding: 12px 6px 14px 6px; }
  .cookie-modal .modal-title { font-size: 1.1rem; }
}

/* ========================
   12. Misc & Utility
   ======================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .card-grid {
  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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========================
   13. Responsive Tweaks
   ======================== */
@media (max-width: 700px) {
  .hero { padding: 22px 0 22px 0; }
  .cta { padding: 24px 7px; }
  .section { padding: 28px 6px; }
  .container { padding: 0 8px; }
  .footer-nav { padding: 19px 0; }
  h1 { font-size: 1.22rem; }
}

/* ========================
   14. Scrollbar (Minimalist)
   ======================== */
body {
  scrollbar-color: #7CAD57 #F8F7F3;
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 7px;
  background: #F8F7F3;
}
::-webkit-scrollbar-thumb {
  background: #7CAD57;
  border-radius: 7px;
}

/* ========================
   15. Transitions
   ======================== */
.card, .feature-item, .testimonial-card, .service-list li, .cta-btn, .main-nav a {
  transition: box-shadow .20s, background .17s, color .15s, border-color .15s;
}

/* ========================
   16. Visited, Focus States
   ======================== */
a:visited {
  color: #263238;
}
a:focus {
  outline: 2px dashed #7CAD57;
  outline-offset: 2px;
}
.cta-btn:focus {
  outline: 2px solid #7CAD57;
  outline-offset: 2px;
}
section {
  padding: 20px 0;
}
/* ========================
   END OF CSS
   ======================== */
