/* =============================================
   Verkehrspsychologie Mones – Stylesheet
   ============================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: #efedeb;
  font-family: 'Barlow', 'Segoe UI', Arial, sans-serif;
  font-weight: 400;
  font-size: 1.1em;
  color: #222;
  min-height: 100vh;
}

/* ── Layout ── */
.page-wrapper {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 50px;
}

/* ── Header & Navigation ── */
.site-header {
  padding-top: 20px;
  margin-bottom: 10vh;
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2.4em;
  padding: 0;
  margin: 0;
}

.main-nav a {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 1.1em;
  color: #222;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus {
  color: #555;
  outline: none;
}

/* ── Hero Title ── */
.hero-title {
  text-align: left;
}

.hero-title h1 {
  font-family: 'Barlow', sans-serif;
  font-weight: 200;
  font-size: 5em;
  line-height: 1.15;
  color: #444;
  margin: 0;
}

.hero-title h1 .indent {
  display: inline-block;
  padding-left: 2.2em;
}

.hero-subtitle {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 1.8em;
  color: #444;
  margin-top: 0.6em;
  margin-bottom: 0;
  padding-left: 35%;
  padding-right: 16%;
  line-height: 1.4;
}

/* ── Cards v2 Section ── */
.cards2-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4%;
  padding: 4%;
  padding-bottom: 6vh;
  width: 100%;
  margin-top: 5vh;
}

.c2-card {
  background-color: #fff;
  overflow: visible;
}

.c2-icon {
  display: block;
  width: 54%;
  height: auto;
  margin-left: 15%;
  margin-right: 30%;
  margin-top: -20%;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.28));
}

.c2-content {
  padding: 4% 6% 6%;
}

.c2-content h2 {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 1.5em;
  color: #222;
  margin-bottom: 0.5em;
  line-height: 1.2;
}

.c2-content p {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 0.95em;
  color: #222;
  line-height: 1.4;
  margin-bottom: 0.6em;
}

.c2-content p:last-child {
  margin-bottom: 0;
}

.c2-content a {
  color: #005ca8;
  text-decoration: none;
}

.c2-content a:hover,
.c2-content a:focus {
  color: #7fadd3;
}

.info-card:first-child {
  grid-column-start: 2;
}

.info-card {
  background-color: transparent;
  padding: 0 30px 0 0;
  box-sizing: border-box;
}

.info-card h2 {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 1.5em;
  color: #222;
  margin-bottom: 0.5em;
  line-height: 1.2;
}

.info-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-card li {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 0.95em;
  color: #222;
  line-height: 1.4;
  margin-bottom: 0.4em;
  padding-left: 1.1em;
  position: relative;
}

.info-card li::before {
  content: '';
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  background-color: #444;
  border-radius: 2px;
  position: absolute;
  left: 0;
  top: 0.42em;
}

.info-card--blue h2 {
  color: #005ca8;
}

.info-card--blue li::before {
  background-color: #005ca8;
}

.info-card--red h2 {
  color: #d5111c;
}

.info-card--red li::before {
  background-color: #d5111c;
}

/* ── Footer-Navigation ── */
.footer-nav {
  padding: 1vh 4% 6vh;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.4em;
  padding: 0;
  margin: 0;
}

.footer-nav a {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 1.1em;
  color: #222;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-nav a:focus {
  color: #555;
  outline: none;
}


.contact-btn-wrap {
  display: flex;
  justify-content: center;
  padding: 0 4% 6vh;
}

.contact-btn {
  display: inline-block;
  background-color: #005ca8;
  color: #fff;
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 1.1em;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  padding: 0.5em 1em;
  box-shadow: 0 3px 8px rgba(0,0,0,0.22);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-btn:hover,
.contact-btn:focus {
  box-shadow: 0 8px 20px rgba(0,0,0,0.28);
  transform: translateY(-2px);
  outline: none;
}

/* ── Full Section ── */
.full-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 4%;
  row-gap: 6vh;
  padding: 6vh 4%;
  width: 100%;
  background-color: #fff;
  box-sizing: border-box;
}

.portrait-img {
  display: block;
  width: 100%;
  height: auto;
  grid-column: span 2;
  align-self: end;
}

.about-text {
  min-width: 0;
  align-self: end;
  padding-right: 30px;
  margin-left: -5px;
  transform: translateY(5px);
}

.about-text h2 {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 1.5em;
  color: #222;
  margin-bottom: 0.5em;
  line-height: 1.2;
}

.about-text p {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 0.95em;
  color: #222;
  line-height: 1.4;
  margin-bottom: 0.6em;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* ── Footer ── */
.site-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 4%;
  row-gap: 3vh;
  padding: 6vh 4%;
  width: 100%;
  box-sizing: border-box;
  align-items: start;
}

.footer-heading {
  grid-column: 1 / 3;
  grid-row: 1;
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 1.5em;
  color: #222;
  margin: 0;
  line-height: 1.2;
}

.footer-location {
  background-color: #fff;
  padding: 5% 6%;
  box-sizing: border-box;
}

.footer-location h3 {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 1.1em;
  color: #222;
  margin: 0 0 0.5em;
}

.footer-location p {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 0.95em;
  color: #222;
  line-height: 1.4;
  margin: 0;
}

.footer-location--blue {
  background-color: #005ca8;
}

.footer-location--blue h3,
.footer-location--blue p {
  color: #fff;
}

.footer-location--red {
  background-color: #d5111c;
}

.footer-location--red h3,
.footer-location--red p {
  color: #fff;
}

.footer-logos {
  grid-column: 3;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  /* transparent – kein Hintergrund */
}

.footer-logos > .footer-heading {
  margin-bottom: 3vh;
}

.footer-contact {
  padding: 5% 6%;
  box-sizing: border-box;
  background-color: #d5111c;
}

.footer-contact p {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 0.95em;
  color: #fff;
  line-height: 1.6;
  margin: 0;
}

.footer-contact a {
  color: #fff;
  text-decoration: underline;
}

.footer-contact a:hover {
  opacity: 0.75;
}

/* ==============================================
   Responsive – kleiner als 1280px
   ============================================= */
@media (max-width: 1280px) {

  .hero-title h1 {
    font-size: 3.8em;
  }

  .hero-subtitle {
    font-size: 1.5em;
    padding-left: 20%;
    padding-right: 8%;
  }

  .main-nav ul {
    gap: 1.8em;
  }

  .cards2-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 6%;
    row-gap: 0;
  }

  .c2-card {
    margin-top: 12vh;
  }

  .c2-icon {
    margin-top: -20%;
  }

  .contact-btn-wrap {
    padding-bottom: 9vh;
  }

  .full-section {
    padding-top: 9vh;
    padding-bottom: 9vh;
  }
}

/* =============================================
   Responsive – Tablet (769px – 1024px)
   ============================================= */
@media (max-width: 1024px) {

  .full-section {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }

  .portrait-img {
    grid-column: 1 / -1;
  }

  .about-text {
    grid-column: 1 / -1;
  }

  .info-card:first-child {
    grid-column-start: 1;
  }
}

/* =============================================
   Responsive – Mobilgeräte (bis 768px)
   ============================================= */
@media (max-width: 768px) {

  .site-header {
    padding-top: 15px;
    margin-bottom: 6vh;
  }

  .page-wrapper {
    padding: 0 20px;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.3em;
    margin-left: auto;
    width: fit-content;
    padding-right: 10px;
  }

  .main-nav a {
    font-size: 0.9em;
  }

  .hero-title h1 {
    font-size: clamp(1.8rem, 9vw, 2.4em);
  }

  .hero-title h1 .indent {
    padding-left: 0;
  }

  .hero-subtitle {
    font-size: 1em;
    padding-left: 0;
    padding-right: 0;
  }

  .cards2-section {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 8vh;
  }

  .c2-card {
    margin-top: 12vh;
  }

  .c2-icon {
    margin-top: -20%;
  }

  .contact-btn-wrap {
    padding: 0 20px 10vh;
  }

  .full-section {
    grid-template-columns: 1fr;
    row-gap: 30px;
    padding-top: 10vh;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10vh;
  }

  .portrait-img {
    grid-column: span 1;
  }

  .info-card:first-child {
    grid-column-start: 1;
  }

  .info-card {
    padding: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
    row-gap: 0;
    column-gap: 0;
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-heading {
    grid-column: auto;
    grid-row: auto;
    margin-top: 4vh;
  }

  .footer-logos {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-logos > .footer-heading {
    margin-bottom: 0;
  }

  .footer-location {
    margin-top: 2vh;
    padding: 6% 6%;
  }

  .footer-contact {
    margin-top: 2vh;
  }

  .footer-nav {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* =============================================
   Responsive – Desktop (ab 1281px)
   ============================================= */
@media (min-width: 1281px) {

  .contact-btn-wrap {
    padding-bottom: 12vh;
  }

  .full-section {
    padding-top: 12vh;
    padding-bottom: 12vh;
  }

}

/* ── Legal Pages (Impressum / Datenschutz) ── */
.legal-section {
  background-color: transparent;
  padding: 6vh 4%;
  width: 100%;
  box-sizing: border-box;
}

.legal-box {
  max-width: 860px;
  margin: 0 auto;
}

.legal-box h1 {
  font-family: 'Barlow', sans-serif;
  font-weight: 200;
  font-size: 2.8em;
  color: #444;
  margin-bottom: 0.8em;
  line-height: 1.2;
}

.legal-box h2 {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 1.15em;
  color: #222;
  margin-top: 1.6em;
  margin-bottom: 0.4em;
}

.legal-box p {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 1em;
  color: #222;
  line-height: 1.6;
  margin-bottom: 0.6em;
}

.legal-box a {
  color: #222;
  text-decoration: underline;
}

.legal-box a:hover,
.legal-box a:focus {
  color: #555;
  outline: none;
}

.legal-box ul {
  padding-left: 1.4em;
  margin-bottom: 0.6em;
}

.legal-box ul li {
  line-height: 1.6;
  margin-bottom: 0.3em;
}

