/* ===== Template 3: Amethyst & Amber ===== */
/* ALBIS Fullservice Leasing GmbH */
/* Primary: #383193 | Accent: #D37530 | Dark: #1C1750 | Light: #F8F6FF */
/* Fonts: Young Serif (headings) + Gabarito (body) */

/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Gabarito:wght@400;500;600;700;800;900&family=Young+Serif&display=swap');

:root {
  --primary: #383193;
  --accent: #D37530;
  --dark: #1C1750;
  --light: #F8F6FF;
  --white: #ffffff;
  --black: #1a1a1a;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --font-heading: 'Young Serif', serif;
  --font-body: 'Gabarito', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent);
}

/* ===== Navbar (Template 3: NO fixed-top, menu_box container-fluid) ===== */
.menu_box {
  background: var(--white);
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  position: relative;
  z-index: 1000;
}

.menu_box .navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--primary) !important;
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.menu_box .navbar-brand:hover {
  color: var(--primary) !important;
}

.menu_box .navbar-caption {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--primary) !important;
  text-decoration: none;
  white-space: nowrap;
}

.menu_box .navbar-toggler {
  border: 1px solid var(--light-gray);
  padding: 6px 10px;
  border-radius: 6px;
}

.menu_box .navbar-toggler:focus {
  box-shadow: 0 0 0 2px rgba(56,49,147,0.2);
  outline: none;
}

.menu_box .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(56,49,147,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 24px;
  height: 24px;
}

.menu_box .nav-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary) !important;
  padding: 8px 16px !important;
  cursor: pointer !important;
  transition: color 0.3s ease;
}

.menu_box .nav-link:hover,
.menu_box .nav-link.active {
  color: var(--accent) !important;
  cursor: pointer !important;
}

.mbr-section-btn-main .btn {
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mbr-section-btn-main .btn .mobi-mbri-right {
  margin-left: 8px;
}

/* ===== Buttons ===== */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 30px;
  padding: 12px 28px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

.btn-secondary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.btn-secondary:hover {
  background: #b86528;
  border-color: #b86528;
  color: var(--white);
}

.btn-black {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

.btn-black:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
}

/* ===== Hero Section (Parallax Full-Screen) ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(28, 23, 80, 0.8);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content .hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-content .btn {
  font-size: 1rem;
  padding: 14px 36px;
}

/* ===== Sections ===== */
.section {
  padding: 80px 0;
}

.section-light {
  background: var(--light);
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Full-Bleed 50/50 Split ===== */
.split-section {
  display: flex;
  align-items: stretch;
  min-height: 500px;
}

.split-section .split-image {
  flex: 0 0 50%;
  background-size: cover;
  background-position: center;
  min-height: 400px;
}

.split-section .split-content {
  flex: 0 0 50%;
  display: flex;
  align-items: center;
  padding: 60px;
}

.split-section .split-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.split-section .split-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--gray);
}

/* ===== 4-Column Services Grid ===== */
.services-grid .service-card {
  text-align: center;
  padding: 30px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
}

.services-grid .service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.services-grid .service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.8rem;
}

.services-grid .service-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.services-grid .service-card p {
  font-size: 0.95rem;
  color: var(--gray);
}

/* ===== Border Wrappers ===== */
.border-wrapper {
  border-top: 3px solid var(--accent);
  margin: 40px 0;
  width: 80px;
}

.border-wrap {
  position: relative;
}

.border-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
}

/* ===== Team Cards ===== */
.team-card {
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-card img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid var(--light);
}

.team-card h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--dark);
}

.team-card .role {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ===== Achievements / Stats ===== */
.achievement-card {
  text-align: center;
  padding: 30px;
}

.achievement-card .number {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
}

.achievement-card .label {
  font-size: 1rem;
  color: var(--gray);
  margin-top: 10px;
}

/* ===== FAQ Accordion ===== */
.accordion-item {
  border: 1px solid var(--light-gray);
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-button {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--dark);
  background: var(--white);
  padding: 16px 20px;
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  background: var(--light);
  color: var(--primary);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--accent);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23383193'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  padding: 16px 20px;
  color: var(--gray);
  line-height: 1.7;
}

/* ===== Contact Form ===== */
.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.contact-form .form-control {
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font-body);
  transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(56,49,147,0.1);
}

.contact-form textarea {
  min-height: 140px;
}

/* ===== Contact Info Cards ===== */
.contact-info-card {
  text-align: center;
  padding: 30px 20px;
}

.contact-info-card .info-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

.contact-info-card h5 {
  font-family: var(--font-heading);
  margin-bottom: 8px;
}

.contact-info-card p {
  font-size: 0.95rem;
  color: var(--gray);
}

/* ===== Map Container ===== */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== Footer (Template 3: 2-column footer01 tokenm5) ===== */
.footer01 {
  background: var(--dark);
  color: var(--white);
  padding: 50px 0 30px;
}

.footer01 .list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer01 .item-wrap a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer01 .item-wrap a:hover {
  color: var(--accent);
}

.footer01 .copyright {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  text-align: right;
}

.footer01 .flex-row-reverse {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* ===== Card Wrapper ===== */
.card-wrapper {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.06);
}

/* ===== Page Header for Sub-Pages ===== */
.page-header {
  background: linear-gradient(135deg, var(--primary), var(--dark));
  color: var(--white);
  padding: 120px 0 60px;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 10px;
}

.page-header p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .split-section {
    flex-direction: column;
  }

  .split-section .split-image {
    min-height: 300px;
  }

  .split-section .split-content {
    padding: 30px 20px;
  }

  .section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .page-header {
    padding: 100px 0 40px;
  }

  .page-header h1 {
    font-size: 2.2rem;
  }

  .footer01 .flex-row-reverse {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer01 .copyright {
    text-align: center;
  }

  .footer01 .list {
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content .hero-subtitle {
    font-size: 1rem;
  }

  .team-card img {
    width: 140px;
    height: 140px;
  }
}

/* ===== Legal Pages ===== */
.legal-content {
  padding: 60px 0;
}

.legal-content h2 {
  font-family: var(--font-heading);
  color: var(--dark);
  margin-bottom: 30px;
  font-size: 2rem;
}

.legal-content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary);
  margin-top: 30px;
  margin-bottom: 15px;
}

.legal-content h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--dark);
  margin-top: 20px;
  margin-bottom: 10px;
}

.legal-content p {
  line-height: 1.8;
  margin-bottom: 15px;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.legal-content ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.legal-content table th,
.legal-content table td {
  border: 1px solid #333;
  padding: 12px;
  text-align: left;
}

.legal-content table th {
  background: var(--dark);
  color: var(--white);
  font-weight: 600;
}

.legal-content table tr:nth-child(even) {
  background: var(--light);
}
