@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background-color: #f8fafc;
  color: #1e293b;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* --- Top Bar --- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  z-index: 1000;
  /* ensures it's above navbar */
  border-bottom: 1px solid #e0e0e0;
  padding: 6px 0;
}

.topbar-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.topbar-link {
  color: #0066cc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.topbar-link:hover {
  color: #004999;
}

/* --- Privacy Content --- */
.privacy-section {
  margin-top: 120px;
  padding: 40px 20px;
}

.privacy-container {
  max-width: 900px;
  background-color: #fff;
  border-radius: 12px;
  padding: 40px;
  margin: 0 auto;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.privacy-container h2 {
  color: #0073e6;
  font-size: 28px;
  margin-bottom: 10px;
  text-align: center;
}

.privacy-container h4 {
  color: #004999;
  margin-top: 25px;
  font-size: 18px;
}

.privacy-container p,
.privacy-container ul {
  line-height: 1.6;
  font-size: 15px;
}

.privacy-container ul {
  padding-left: 20px;
}

.privacy-container a {
  color: #0073e6;
  text-decoration: none;
}

.privacy-container a:hover {
  text-decoration: underline;
}

.date {
  text-align: center;
  font-size: 14px;
  color: #777;
}


/* --- Impressum Content --- */
.imprint-section {
  margin-top: 120px;
  padding: 40px 20px;
}

.imprint-container {
  max-width: 900px;
  background-color: #fff;
  border-radius: 12px;
  padding: 40px;
  margin: 0 auto;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.imprint-container h2 {
  color: #0073e6;
  font-size: 28px;
  margin-bottom: 10px;
  text-align: center;
}

.imprint-container p {
  line-height: 1.6;
  font-size: 15px;
}

.imprint-container a {
  color: #0073e6;
  text-decoration: none;
}

.imprint-container a:hover {
  text-decoration: underline;
}

.date {
  text-align: center;
  font-size: 14px;
  color: #777;
}


/* Header */
.navbar {
  position: fixed;
  backdrop-filter: blur(10px);
  top: 0;
  width: 100%;
  background: linear-gradient(90deg, #0077b6, #00b4d8);
  transition: all 0.3s ease;
  /* padding: 10px 0px; */
  z-index: 1000;
  margin-top: 35px;
  /* adjust if needed */
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  /* justify-content: center; */
  align-items: center;
}

/* Logo */
.logo {
  height: 90px;
  width: auto;
  object-fit: contain;
  transform: scale(1.5);
  transform-origin: left center;
}

/* Menu */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  font-family: "Roboto", sans-serif;
}

.nav-link:hover {
  color: #023e8a;
}

.nav-link.active {
  color: #023e8a;
  font-weight: 600;
  border-bottom: 2px solid #023e8a;
}

/* Hamburger toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

/* Hamburger bars */
.nav-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: 0.3s ease;
}

/* Responsive navigation */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-link {
    color: #023e8a;
  }

  .nav-link:hover {
    text-decoration: underline;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    gap: 2rem;
    padding: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 998;
  }

  .nav-menu.active {
    display: flex;
  }
}

/* Hero */
.c-hero__container {
  margin-top: 80px;
  display: flex;
  align-items: stretch;
  /* keeps both sides same height */
  justify-content: center;
  width: 100%;
  background-color: #00b4d8;
  /* background: linear-gradient(135deg, #e0f7fa, #ffffff); */
  padding: 2rem 5%;
  /* gives equal side margins */
  min-height: 70vh;
  /* reduced from 90vh */
  box-sizing: border-box;
}

.c-hero__content {
  display: flex;
  width: 100%;
  max-width: 1200px;
  /* centers content neatly */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.c-hero__body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background: #f1f5f9;
  /* slightly darker background */
}

.c-hero__body-content {
  max-width: 480px;
}

.c-hero__media {
  flex: 1;
  /* equal width */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
}

.c-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-hero__heading h1 {
  font-size: 2.5rem;
  color: #023e8a;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-family: "Roboto", sans-serif;
}


.c-hero__subheading h2 {
  font-family: "Roboto", sans-serif;
  font-size: 1.5rem;
  color: #0077b6;
  margin-bottom: 0.5rem;
}

.c-hero__label span {
  color: #0096c7;
  font-family: "Roboto", sans-serif;
  text-transform: uppercase;
  font-size: 1rem;
  margin-top: 0.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: inline-block;
}

.c-hero__label {
  font-family: "Roboto", sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
}

.c-button {
  background-color: #00b4d8;
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s;
}

.c-button:hover {
  background-color: #0096c7;
  transform: translateY(-2px);
}


/* Responsive Hero Section */
@media (max-width: 992px) {
  .c-hero__container {
    padding: 2rem 3%;
    min-height: 60vh;
  }

  .c-hero__content {
    flex-direction: column;
    max-width: 100%;
    border-radius: 10px;
  }

  .c-hero__body,
  .c-hero__media {
    flex: none;
    width: 100%;
    height: auto;
  }

  .c-hero__body {
    padding: 2.5rem 2rem;
    background: #f1f5f9;
  }

  .c-hero__media img {
    width: 100%;
    height: 300px;
    object-fit: cover;
  }

  .c-hero__heading h1 {
    font-size: 1.8rem;
  }

  .c-hero__subheading h2 {
    font-size: 1.2rem;
  }

  .c-button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .c-hero__container {
    padding: 1.5rem;
  }

  .c-hero__body {
    padding: 2rem 1rem;
  }

  .c-hero__heading h1 {
    font-size: 1.6rem;
  }

  .c-hero__subheading h2 {
    font-size: 1.1rem;
  }

  .c-hero__media img {
    height: 250px;
  }
}


/* Hero Section Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.c-hero__container {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.2s;
}

.c-hero__body-content {
  opacity: 0;
  transform: translateX(-40px);
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.4s;
}

.c-hero__media {
  opacity: 0;
  transform: translateX(40px);
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.6s;
}


.c-hero__container {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease-out;
}

.c-hero__container.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Intro Section */
.intro-section {
  background: #ffffff;
  padding: 4rem 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid #e2e8f0;
}

.intro-text {
  font-family: "Roboto", sans-serif;
  font-size: 1.125rem;
  color: #1e293b;
  line-height: 1.7;
  margin-bottom: 10px;
}

.intro-subtext p {
  font-size: 1rem;
  color: #334155;
  line-height: 1.6;
  font-weight: 600;
}

.intro-subtext a {
  color: #0077b6;
  text-decoration: none;
  font-weight: 600;
}


.intro-subtext a:hover {
  text-decoration: underline;
}

/* Grid helpers (to match your naming structure) */
.c-grid {
  display: flex;
  justify-content: center;
  width: 100%;
}

.c-col {
  width: 100%;
  max-width: 900px;
}

/* Responsive Intro Section */
@media (max-width: 1200px) {
  .intro-section {
    padding: 3rem 5%;
  }
}

@media (max-width: 992px) {
  .intro-section {
    padding: 2.5rem 4%;
  }

  .intro-text {
    font-size: 1.05rem;
  }

  .intro-subtext p {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .intro-section {
    padding: 2rem 3%;
  }

  .c-col {
    max-width: 100%;
    width: 100%;
  }

  .intro-text,
  .intro-subtext p {
    text-align: center;
    /* center text on smaller screens */
  }

  .intro-subtext a {
    display: inline-block;
    margin-top: 0.25rem;
  }
}

@media (max-width: 576px) {
  .intro-section {
    padding: 1.5rem 2%;
  }

  .intro-text {
    font-size: 1rem;
  }

  .intro-subtext p {
    font-size: 0.9rem;
  }
}

/* Benefits Section */
.benefits-section {
  padding: 4rem 10%;
  background: #f8fafc;
}

.section_heading {
  font-size: 2rem;
  text-align: center;
  color: #023e8a;
  margin-bottom: 3rem;
}


/* CSS Grid for 2 rows, 3 columns */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Tiles */
.c-tile {
  display: block;
  /* keep block layout */
  padding: 1rem 0;
  /* small vertical padding */
  background: transparent;
  /* no background color */
}

/* .c-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
} */

.c-tile__media {
  text-align: left;
  /* image aligned to left */
  margin-bottom: 0.75rem;
  /* keep spacing below image */
}

.c-tile__media img {
  display: inline-block;
  /* ensures image respects left alignment */
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.c-tile__content h3 {
  font-size: 1.125rem;
  color: #0077b6;
  margin-bottom: 0.75rem;
}

.c-tile__content p {
  font-size: 1rem;
  color: #334155;
  line-height: 1.6;
}

/* Responsive: 2 columns on tablet */
@media (max-width: 992px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive: 1 column on mobile */
@media (max-width: 576px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .c-tile {
    padding: 1.5rem;
  }
}

.loan-steps-section {
  padding: 4rem 10%;
  background-color: #023e8a;
  /* darker background */
  color: #ffffff;
  /* text color white for contrast */
  text-align: center;
}

.section-heading {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 3rem;
}

/* Grid: 3 columns on desktop, responsive */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Individual step tiles */
.step-tile {
  background: transparent;
  font-size: 1.25rem;
  /* flat */
  padding: 1rem;
  color: #caf0f8;
  margin-bottom: 0.5rem;
}

.step-number {
  font-size: 2rem;
  font-weight: 600;
  color: #00b4d8;
  /* lighter accent for step numbers */
  margin-bottom: 0.5rem;
}

.step-description {
  font-size: 1rem;
  color: #e0f7fa;
  line-height: 1.5;
}

/* Optional “How it works” button */
.step-link {
  display: inline-block;
  margin-top: 1rem;
  background: none;
  border: none;
  color: #0077b6;
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.95rem;
}

/* CTA button below grid */
.cta-button-wrapper {
  text-align: center;
}

.c-button--primary {
  background-color: #00b4d8;
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: background 0.3s;
}

.c-button--primary:hover {
  background-color: #0096c7;
  color: #ffffff;
}

/* Responsive */
@media (max-width: 992px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-section {
  padding: 4rem 10%;
  background-color: #f1f5f9;
  text-align: center;
}

.section-heading {
  font-size: 2rem;
  color: #023e8a;
  margin-bottom: 3rem;
}

/* Carousel container */
.testimonial-carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
}

.testimonial-carousel::-webkit-scrollbar {
  display: none;
  /* hide scrollbar */
}

/* Individual testimonial */
.testimonial {
  flex: 0 0 300px;
  /* width of each card */
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}


/* Text styling */
.testimonial-name {
  font-size: 1rem;
  font-weight: 600;
  color: #0077b6;
  margin-bottom: 0.5rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

/* Rating stars */
.testimonial-rating {
  font-size: 1rem;
  color: #ffc107;
  /* golden stars */
}

/* Auto scroll animation (infinite) */
@keyframes scrollTestimonials {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Footer */
.footer {
  background: linear-gradient(90deg, #00b4d8, #0077b6);
  color: white;
  text-align: center;
  padding: 1rem 0;
  margin-top: 3rem;
}