.motivation-card {
    position: relative;
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    color: white;
    height: 400px;
    overflow: hidden;
}

.motivation-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    z-index: 2;
    position: relative;
}

.motivation-card h3 .accent {
    color: #f9b320;
}

.motivation-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    z-index: 2;
    position: relative;
}

.bg-number {
    position: absolute;
    bottom: 1px;
    right: 20px;
    font-size: 12rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    z-index: 1;
    line-height: 1;
    user-select: none;
}

.grid-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 80px 100px;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.grid-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 25px;
    font-size: 14px;
    line-height: 1.6;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
}

.grid-box h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Logo in the middle */
.logo-box {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

/* Adjust corners to tuck under logo a bit */
.top-left {
    transform: translate(20px, 20px);
}

.top-right {
    transform: translate(-25px, 20px);
}

.bottom-left {
    transform: translate(20px, -25px);
}

.bottom-right {
    transform: translate(-25px, -25px);
}


@media (max-width: 768px) {

  /* Section title */
  .section-title {
    font-size: 2rem;
    text-align: center;
  }

  /* Stack cards vertically with a bit of padding top/bottom */
  .grid-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-top: -50px;
    padding: 2rem 1rem;
  }

  /* Individual card styling (you already had this) */
  .grid-box {
    width: 100%;
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
    text-align: center;
  }
  .grid-box h4 { font-size: 18px; }
  .grid-box p  { font-size: 15px; line-height: 1.6; }

  /* Hide the center logo */
  .logo-box {
    display: none !important;
  }

  /* **REMOVE** all your transform/margin hacks */
  .top-left,
  .top-right,
  .bottom-left,
  .bottom-right {
    margin: 0 !important;
    transform: none !important;
  }
}

@media (max-width: 768px) {
  .vlt-experience-block {
    max-width: 100%;
    text-align: center;
    padding: 20px;
  }

  .vlt-experience-block__number {
    font-size: 48px; /* down from desktop size */
    line-height: 1;
    display: block;
    margin-bottom: 12px;
  }

  .vlt-experience-block__title {
    font-size: 16px;
    line-height: 1.5;
    word-break: break-word;
  }

  .address-impressum{
    font-size: 1.5rem;
  }
}

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

/* --- mobile typography tweaks --- */
@media (max-width: 767px) {
  /* shrink the little sub‑title */
  .vlt-animated-block .vlt-display-1 {
    font-size: 1rem;      /* was probably 1.5rem+ */
    line-height: 1.3;
  }

  .vlt-experience-block__title::before,
.vlt-experience-block::before {
  content: none !important;
}


  /* make the big name fluid and wrap nicely */
  .vlt-large-heading {
    /* fluid font between 2.5rem and 4rem based on viewport width */
    font-size: clamp(2.5rem, 10vw, 4rem) !important;
    line-height: 1.1;
    white-space: normal !important;  /* allow wrapping */
  }

  /* force first and last name onto their own lines */
  .vlt-large-heading .first-name,
  .vlt-large-heading .last-name {
    display: block;
  }

    .vlt-footer.vlt-footer--default{
    flex-direction:column;
    text-align:center;
  }
  /* .vlt-footer-copyright,
  .vlt-language-switcher{
    width:100%;
    justify-content:center;
  } */

  .title-daten-impressum{
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 700;
  }
}

.hp-wrap{
  position:absolute !important;
  left:-10000px !important;
  top:auto !important;
  width:1px; height:1px;
  overflow:hidden;
}
/* ===== FOOTER BASE ===== */
#site-footer{
  margin-top:80px;
  padding-top:48px;
  border-top:1px solid rgba(255,255,255,.12);
  color:#f5f5f5;
  font-family:"Poppins","Gilroy",sans-serif;
  line-height:1.55;
}
#site-footer a{
  color:#f5f5f5;
  opacity:.85;
  transition:opacity .2s;
}
#site-footer a:hover{
  opacity:1;
  text-decoration:none;
}
#site-footer h4{
  margin:0 0 18px;
  font-size:22px;
  font-weight:600;
}
#site-footer ul{
  list-style:none;
  margin:0;
  padding:0;
}
#site-footer li{margin-bottom:.55rem;}

.sf-grid{
  display:grid;
  gap:40px 60px;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
}
.sf-col .credit{
  display:block;
  margin-top:22px;
  font-size:13px;
  opacity:.6;
}

/* bottom row */
.sf-bottom{
  margin-top:32px;
  font-size:13px;
  opacity:.75;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:.8rem;
}

/* credit clone for mobile */
#site-footer .credit-mobile{display:none;}

/* ===== TABLETS (≤ 992px) ===== */
@media (max-width: 991.98px){
  #site-footer{
    padding-top:40px;
    margin-top:60px;
  }
  #site-footer h4{
    font-size:20px;
    margin-bottom:14px;
  }
  .sf-grid{gap:32px 32px;}
}

/* ===== PHONES (≤ 768px) ===== */
@media (max-width: 767.98px){
  .sf-grid{
    grid-template-columns:1fr;
    text-align:center;
  }
  #site-footer .sf-col:first-child img{
    margin:0 auto 14px;
  }
  #site-footer .sf-col .credit{display:none;}      /* hide logo credit */
  #site-footer .credit-mobile{
    display:block;
    opacity:.6;
    font-size:13px;
    margin-top:6px;
  }
  .sf-bottom{
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:6px;
  }
}

/* ===== VERY SMALL (≤ 420px) ===== */
@media (max-width: 420px){
  #site-footer{padding-top:32px;}
  #site-footer h4{font-size:18px;}
  #site-footer li{margin-bottom:.45rem;}
}


/* ---- force socials visible on phones ---- */
@media (max-width:575px){
  body .vlt-offcanvas-menu__socials{
    display:flex !important;
    gap:16px;
    justify-content:start;
    margin-bottom:18px;
    opacity:1 !important;
    visibility:visible !important;
  }
}

/* offcanvas layout so footer isn't clipped */
.vlt-offcanvas-menu{
  display:flex;
  flex-direction:column;
  height:100vh;
}
.vlt-offcanvas-menu__navigation{
  flex:1 1 auto;
  overflow-y:auto;
}
.vlt-offcanvas-menu__footer{
  opacity:1 !important;
  pointer-events:auto !important;
  padding:24px 0 20px;
}
.vlt-offcanvas-menu__socials .vlt-social-icon{
  font-size:20px;
  opacity:.85;
  transition:opacity .2s;
}
.vlt-offcanvas-menu__socials .vlt-social-icon:hover{opacity:1;}
