/* ============================================================
   Easydrive Paderborn – Main Stylesheet
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --red:     #e52e31;
  --red-dk:  #c02528;
  --dark:    #1a1a1a;
  --grey:    #f5f5f5;
  --border:  #e8e8e8;
  --text:    #444;
  --muted:   #888;
  --white:   #ffffff;
  --nav-h:   72px;
  --radius:  6px;
  --shadow:  0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Sen', sans-serif;
  font-size: 17px;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-h);
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  transition: box-shadow 0.2s;
}

.nav--scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.nav__logo img {
  height: 44px;
  width: auto;
}

@media (min-width: 769px) {
  .nav__logo img {
    height: 52px;
  }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__links a {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav__links a:hover {
  color: var(--red);
}

.nav__links .nav__cta {
  background: var(--red);
  color: var(--white);
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius);
  transition: background 0.2s;
}

.nav__links .nav__cta:hover {
  background: var(--red-dk);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile nav */
.nav__mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.nav__mobile.is-open {
  display: flex;
}

.nav__mobile a {
  display: block;
  padding: 1rem 2rem;
  font-weight: 700;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, background 0.2s;
}

.nav__mobile a:hover {
  color: var(--red);
  background: var(--grey);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.212), rgba(0, 0, 0, 0.55)),
    url('../images/hero-bg.webp')
    center / cover no-repeat;
  color: var(--white);
  position: relative;
}

.hero__content {
  max-width: 860px;
  padding: 3rem 2rem;
}

.hero__eyebrow {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 3px;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  opacity: 0.88;
  margin-bottom: 2.75rem;
  font-weight: 400;
}

.btn {
  display: inline-block;
  font-family: 'Sen', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1rem 2.4rem;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.2s, color 0.2s;
  cursor: pointer;
  text-decoration: none;
}

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

.btn--primary:hover {
  background: var(--red-dk);
  border-color: var(--red-dk);
  transform: translateY(-2px);
}

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

.btn--outline:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}


/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
.section {
  padding: 5.5rem 2rem;
}

.section--alt {
  background: var(--grey);
}

.container {
  max-width: 1160px;
  margin: 0 auto;
}

.section__label {
  display: block;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section__title {
  font-size: clamp(1.8rem, 3.8vw, 2.75rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.section__subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 3rem;
}

/* ============================================================
   COURSES / LICENSE CLASSES
   ============================================================ */
.courses__intro {
  margin-bottom: 2.5rem;
}

.courses__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.course-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.course-card:hover {
  border-color: var(--red);
  box-shadow: 0 6px 24px rgba(229, 46, 49, 0.12);
}

.course-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  min-width: 52px;
  height: 36px;
  padding: 0 0.75rem;
  border-radius: 4px;
  margin-bottom: 1.1rem;
  letter-spacing: 0.03em;
}

.course-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.course-card__text {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.65;
}

.course-card__link {
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
}

.course-card__link:hover {
  text-decoration: underline;
}

/* Extra services (First Aid, MPU) */
.courses__extras {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.extra-card {
  background: var(--grey);
  border-radius: var(--radius);
  padding: 2rem;
  border-left: 4px solid var(--red);
}

.extra-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
}

.extra-card__text {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================================
   GALLERY / SWIPER
   ============================================================ */
.gallery {
  padding: 0;
  background: #111;
  overflow: hidden;
}

.gallery .swiper {
  width: 100%;
}

.gallery .swiper-slide img {
  width: 100%;
  height: clamp(220px, 40vw, 480px);
  object-fit: cover;
}

/* Swiper arrow overrides */
.swiper-button-next,
.swiper-button-prev {
  width: 44px;
  height: 44px;
  background: var(--red);
  border-radius: 50%;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.2rem;
  color: var(--white);
}

.swiper-pagination-bullet-active {
  background: var(--red) !important;
}

/* ============================================================
   LOCATION
   ============================================================ */
.location__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.location__text p {
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.location__text p strong {
  color: var(--dark);
}

.location__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 360px;
}

.location__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about__image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about__body {
  min-width: 0;
}

.about__body p {
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat__number {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.35rem;
  line-height: 1.3;
}

/* ============================================================
   TEAM
   ============================================================ */
.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}

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

.team-card__photo {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: top center;
}

.team-card__body {
  padding: 1.5rem;
  text-align: center;
}

.team-card__name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.team-card__role {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.team-card__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--red);
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.team-card__phone:hover {
  color: var(--red-dk);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact__block-title + .hours-table {
  margin-top: 1rem;
}

.contact__block-title--spaced {
  margin-top: 2rem;
}

.contact__hint {
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact__info--spaced {
  margin-top: 2.5rem;
}

.contact__info p + p {
  margin-top: 0.5rem;
}

.contact__block-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.hours-table tr:not(:last-child) td {
  border-bottom: 1px solid var(--border);
}

.hours-table td {
  padding: 0.75rem 0;
  font-size: 0.95rem;
}

.hours-table td:first-child {
  font-weight: 700;
  color: var(--dark);
  padding-right: 1.5rem;
}

.hours-table td:last-child {
  color: var(--text);
}

.contact__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact__buttons .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.contact__info p {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.contact__info a {
  color: var(--red);
  font-weight: 700;
}

.contact__info a:hover {
  color: var(--red-dk);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq__list {
  max-width: 820px;
  margin: 0.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.faq__item {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq__item[open] {
  border-color: var(--red);
}

.faq__question {
  padding: 1.2rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
  transition: color 0.2s;
}

.faq__question::-webkit-details-marker { display: none; }

.faq__question::after {
  content: '+';
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--red);
  flex-shrink: 0;
  line-height: 1;
}

.faq__item[open] .faq__question {
  color: var(--red);
}

.faq__item[open] .faq__question::after {
  content: '\2212';
}

.faq__answer {
  padding: 0 1.5rem 1.3rem;
  border-top: 1px solid var(--border);
}

.faq__answer p {
  color: var(--text);
  line-height: 1.8;
  font-size: 0.97rem;
  margin-top: 1rem;
}

.faq__answer a {
  color: var(--red);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s;
}

.faq__answer a:hover {
  text-decoration-color: var(--red);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: #aaa;
  padding: 2.25rem 2.5rem;
}

.footer__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copy {
  font-size: 0.88rem;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.88rem;
}

.footer__links a {
  color: #aaa;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--white);
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition: background 0.2s, transform 0.2s;
}

.footer__social a:hover {
  background: var(--red);
  transform: translateY(-1px);
}

.footer__social svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.footer__credit {
  font-size: 0.82rem;
  color: #666;
}

.footer__address {
  font-style: normal;
  font-size: 0.88rem;
  color: #aaa;
  line-height: 1.6;
}

.footer__address strong {
  color: var(--white);
}

.footer__address a {
  color: #aaa;
  transition: color 0.2s;
}

.footer__address a:hover {
  color: var(--white);
}

/* ============================================================
   IMPRESSUM PAGE
   ============================================================ */
.legal-page {
  padding-top: var(--nav-h);
}

.legal-page__hero {
  background: var(--grey);
  padding: 4rem 2rem;
  text-align: center;
}

.legal-page__hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
}

.legal-page__content {
  padding: 4rem 2rem;
}

.legal-block {
  max-width: 760px;
  margin: 0 auto;
}

.legal-block h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}

.legal-block p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.legal-block ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.legal-block li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.legal-block a {
  color: var(--red);
  font-weight: 700;
}

.legal-block a:hover {
  color: var(--red-dk);
}

/* ============================================================
   NAV DROPDOWN
   ============================================================ */
.nav__item--dropdown {
  position: relative;
}

.nav__dropdown-trigger::after {
  content: ' \25BE'; /* ▾ */
  font-size: 0.75em;
  vertical-align: middle;
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: -1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  min-width: 256px;
  list-style: none;
  padding: 0.4rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 300;
  border-top: 3px solid var(--red);
}

.nav__item--dropdown:hover .nav__dropdown-menu,
.nav__item--dropdown:focus-within .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-menu a {
  display: block;
  padding: 0.55rem 1.25rem;
  font-size: 0.92rem;
  color: var(--dark);
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}

.nav__dropdown-menu a:hover {
  color: var(--red);
  background: var(--grey);
}

.nav__mobile-sub {
  font-size: 0.95rem !important;
  padding-left: 2rem !important;
  color: #bbb !important;
  font-weight: 400 !important;
}

/* ============================================================
   CLASS PAGES (Führerscheinklassen)
   ============================================================ */
.klasse-hero {
  background: var(--dark);
  padding: calc(var(--nav-h) + 3.5rem) 2rem 3.5rem;
  text-align: center;
  color: var(--white);
}

.klasse-hero__badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 800;
  padding: 0.25em 0.8em;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.klasse-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.9rem;
}

.klasse-hero p {
  font-size: 1.05rem;
  color: #ccc;
  max-width: 620px;
  margin: 0 auto 2rem;
}

.klasse-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.klasse-fact {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  text-align: center;
  min-width: 140px;
}

.klasse-fact__value {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--red);
}

.klasse-fact__label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.klasse-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.klasse-content h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  margin: 2.5rem 0 0.9rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}

.klasse-content h2:first-child {
  margin-top: 0;
}

.klasse-content p {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.klasse-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.klasse-content ul li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.6rem;
  color: var(--text);
  line-height: 1.65;
}

.klasse-content ul li::before {
  content: '\2713'; /* ✓ */
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.klasse-faq {
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem 2rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.klasse-faq h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}

.klasse-faq .faq__answer {
  padding: 0 1.5rem 1.5rem;
}

.klasse-cta {
  background: var(--grey);
  padding: 4rem 2rem;
  text-align: center;
}

.klasse-cta h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.klasse-cta p {
  color: var(--text);
  max-width: 560px;
  margin: 0 auto 1.75rem;
}

.klasse-cta__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, background 0.2s;
  z-index: 500;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--red-dk);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .location__grid,
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about__image {
    order: -1;
  }

  .about__image img {
    height: 320px;
  }

  .location__map {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .section {
    padding: 4rem 1.5rem;
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .about__stats {
    gap: 1rem;
  }

  .stat__number {
    font-size: 2rem;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .nav {
    padding: 0 1.25rem;
  }

  .courses__grid {
    grid-template-columns: 1fr;
  }

  .team__grid {
    grid-template-columns: 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
