/*========= Ueber Uns Seite =========*/

.about-page{
  background:
    radial-gradient(circle at 20% 20%, rgba(79,195,255,.05) 0%, rgba(79,195,255,0) 28%),
    radial-gradient(circle at 80% 10%, rgba(79,195,255,.03) 0%, rgba(79,195,255,0) 24%),
    linear-gradient(180deg, #2c2c2c 0%, #252626 100%);
}

/* HERO */
.page-hero{
  position:relative;
  min-height:320px;
  overflow:hidden;
}

/* NEU: Background mit Fade-In */
.page-hero-bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(0,0,0,.54), rgba(0,0,0,.14)),
    url("../../images/about-hero.jpg") center center / cover no-repeat;
  z-index:0;

  opacity:0;
  transform:scale(1.05);
  animation:aboutHeroFade 1.6s ease forwards;
}

.page-hero-overlay{
  display:none;
}

.page-hero-inner{
  position:relative;
  z-index:2;
  min-height:320px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding-top:20px;
}

.page-hero h1{
  margin:0 0 6px;
  font-family:"InterCuostom600", sans-serif;
  font-size:52px;
  line-height:1.02;
  color:#d8d2c9;
}

/* Animation */
@keyframes aboutHeroFade{
  0%{
    opacity:0;
    transform:scale(1.05);
  }
  100%{
    opacity:1;
    transform:scale(1);
  }
}

/* TOP CTA */
.about-top-cta{
  background:linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.10) 100%);
  margin-top:-26px;
  padding:0 0 54px;
  position:relative;
  z-index:3;
}

.about-top-cta .container{
  max-width:990px;
  margin:0 auto;
}

.about-top-cta-inner{
  min-height:165px;
  border-radius:12px;
  padding:40px 38px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  text-align:left;
  background:
    radial-gradient(circle at 18% 40%, rgba(255,255,255,.10) 0, rgba(255,255,255,0) 24%),
    radial-gradient(circle at 82% 35%, rgba(255,255,255,.16) 0, rgba(255,255,255,0) 30%),
    linear-gradient(100deg, #169fe0 0%, #17b5f2 45%, #11c4ff 100%);
  box-shadow:0 18px 34px rgba(0,0,0,.22);
  overflow:hidden;
  position:relative;
}

.about-top-cta-inner::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    repeating-radial-gradient(circle at 88% 50%, rgba(255,255,255,.18) 0 2px, transparent 2px 12px);
  opacity:.28;
  pointer-events:none;
}

.about-top-cta h2{
  margin:0;
  font-family:"InterCuostom600", sans-serif;
  font-size:31px;
  line-height:1.15;
  color:#fff;
  position:relative;
  z-index:1;
}

.about-top-cta-stack{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
  position:relative;
  z-index:1;
}

.about-top-cta-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-width:220px;
  padding:11px 18px;
  background:#343434;
  color:#fff;
  border-radius:4px;
  font-family:"InterCuostom", sans-serif;
  font-size:14px;
  line-height:1.2;
  box-shadow:0 8px 18px rgba(0,0,0,.18);
  transition:transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.about-top-cta-btn:hover{
  transform:translateY(-2px);
  background:#222;
  box-shadow:0 12px 22px rgba(0,0,0,.22);
}

.about-top-cta-btn svg{
  width:16px;
  height:16px;
  flex:0 0 16px;
  stroke:currentColor;
  stroke-width:2;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* INTRO */
.about-intro{
  background:transparent;
  padding:18px 0 70px;
}

.about-intro-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  align-items:center;
}

.about-intro-image img{
  width:100%;
  border-radius:8px;
  box-shadow:var(--shadow);
}

.about-intro-text h2{
  margin:0 0 22px;
  font-family:"InterCuostom600", sans-serif;
  font-size:38px;
  line-height:1.15;
  color:var(--text-muted);
}

.about-intro-text p{
  margin:0 0 14px;
  font-family:"Inter", sans-serif;
  font-size:16px;
  line-height:1.75;
  color:var(--text-muted);
}

/* TIMELINE */
.about-timeline{
  background:transparent;
  padding:90px 0 80px;
}

.timeline-item{
  display:grid;
  grid-template-columns:1fr 90px 1fr;
  align-items:center;
  column-gap:26px;
  margin-bottom:48px;

  opacity:0;
  transform:translateY(40px);
  transition:opacity .8s ease, transform .8s ease;
}

.timeline-item.in-view{
  opacity:1;
  transform:translateY(0);
}

.timeline-left{
  grid-column:2;
  display:flex;
  justify-content:center;
  align-items:center;
}

.timeline-year{
  font-family:"InterCuostom600", sans-serif;
  font-size:18px;
  line-height:1;
  color:#f0ebe3;
  letter-spacing:0;
  white-space:nowrap;
}

.timeline-right{
  grid-column:3;
  position:relative;
  max-width:430px;
  padding:18px 22px;
  background:rgba(36,36,36,.72);
  border-radius:8px;
  box-shadow:0 16px 30px rgba(0,0,0,.18);
  backdrop-filter:blur(2px);
}

.timeline-item:nth-child(odd) .timeline-right{
  justify-self:start;
}

.timeline-item:nth-child(even) .timeline-right{
  grid-column:1;
  justify-self:end;
}

.timeline-item:nth-child(even) .timeline-right::before{
  content:"";
  position:absolute;
  right:-14px;
  top:16px;
  width:4px;
  height:calc(100% - 32px);
  background:#d51f49;
  border-radius:8px;
}

.timeline-item:nth-child(even) .timeline-right::after{
  content:"";
  position:absolute;
  right:-14px;
  top:12px;
  width:14px;
  height:14px;
  background:#d51f49;
  clip-path:polygon(0 50%, 100% 0, 100% 100%);
}

.timeline-item:nth-child(odd) .timeline-right::before{
  content:"";
  position:absolute;
  left:-14px;
  top:16px;
  width:4px;
  height:calc(100% - 32px);
  background:#d51f49;
  border-radius:8px;
}

.timeline-item:nth-child(odd) .timeline-right::after{
  content:"";
  position:absolute;
  left:-14px;
  top:12px;
  width:14px;
  height:14px;
  background:#d51f49;
  clip-path:polygon(100% 50%, 0 0, 0 100%);
}

.timeline-right h3{
  margin:0;
  font-family:"InterCuostom600", sans-serif;
  font-size:19px;
  line-height:1.28;
  color:#f0ebe3;
  font-weight:400;
}

.timeline-right p{
  margin:14px 0 0;
  font-family:"Inter", sans-serif;
  font-size:14px;
  line-height:1.45;
  color:#f0ebe3;
  opacity:.92;
}

.timeline-item:nth-child(1){ transition-delay:.05s; }
.timeline-item:nth-child(2){ transition-delay:.12s; }
.timeline-item:nth-child(3){ transition-delay:.19s; }
.timeline-item:nth-child(4){ transition-delay:.26s; }
.timeline-item:nth-child(5){ transition-delay:.33s; }
.timeline-item:nth-child(6){ transition-delay:.40s; }
.timeline-item:nth-child(7){ transition-delay:.47s; }

body.light .timeline-year{
  color:#1a1a1a; /* schönes dunkles Grau (nicht hartes Schwarz) */
}

/* ALL IN ONE */
.about-allinone{
  background:transparent;
  padding:98px 0 124px;
}

.about-allinone-grid{
  display:grid;
  grid-template-columns:1.02fr .98fr;
  gap:54px;
  align-items:center;
}

.about-allinone-text h2{
  margin:0 0 24px;
  font-family:"InterCuostom600", sans-serif;
  font-size:42px;
  line-height:1.12;
  color:var(--text-muted);
}

.about-allinone-text p{
  margin:0 0 16px;
  font-family:"Inter", sans-serif;
  font-size:16px;
  line-height:1.8;
  color:var(--text-muted);
}

.about-allinone-image img{
  width:100%;
  border-radius:10px;
  box-shadow:var(--shadow);
}

/* ABOUT INTRO / ALLINONE Animation */
.about-intro-image,
.about-intro-text,
.about-allinone-text,
.about-allinone-image{
  opacity:0;
  transition:opacity .85s ease, transform .85s ease;
}

.about-intro-image{
  transform:translateX(-70px);
}

.about-intro-text{
  transform:translateX(70px);
}

.about-allinone-text{
  transform:translateX(-70px);
}

.about-allinone-image{
  transform:translateX(70px);
}

.about-intro-image.in-view,
.about-intro-text.in-view,
.about-allinone-text.in-view,
.about-allinone-image.in-view{
  opacity:1;
  transform:translateX(0);
}

body.light .about-page{
  background:
    radial-gradient(circle at 20% 20%, rgba(79,195,255,.04) 0%, rgba(79,195,255,0) 30%),
    radial-gradient(circle at 80% 10%, rgba(79,195,255,.03) 0%, rgba(79,195,255,0) 26%),
    linear-gradient(180deg, #f4f6f8 0%, #e9edf1 100%);
}

body.light .about-intro,
body.light .about-timeline,
body.light .about-allinone{
  background:transparent;
}

/* Laptop kompakter */
@media (max-width: 1366px){
  .page-hero{
    min-height:270px;
  }

  .page-hero-inner{
    min-height:270px;
    padding-top:10px;
  }

  .page-hero h1{
    font-size:58px;
  }

  .about-top-cta{
    margin-top:-18px;
    padding:0 0 40px;
  }

  .about-top-cta .container{
    max-width:760px;
  }

  .about-top-cta-inner{
    min-height:138px;
    padding:30px 30px;
    gap:18px;
  }

  .about-top-cta h2{
    font-size:27px;
  }

  .about-top-cta-stack{
    gap:8px;
  }

  .about-top-cta-btn{
    min-width:195px;
    font-size:13px;
    padding:10px 14px;
  }

  .about-top-cta-btn svg{
    width:15px;
    height:15px;
    flex:0 0 15px;
  }

  .about-intro{
    padding:8px 0 52px;
  }

  .about-intro-grid{
    gap:34px;
  }

  .about-intro-text h2{
    font-size:32px;
    margin-bottom:16px;
  }

  .about-intro-text p{
    font-size:14px;
    line-height:1.65;
    margin-bottom:10px;
  }

  .about-timeline{
    padding:70px 0 58px;
  }

  .timeline-item{
    grid-template-columns:1fr 70px 1fr;
    column-gap:18px;
    margin-bottom:28px;
    opacity:1;
    transform:none;
  }

  .timeline-year{
    font-size:15px;
	text-shadow:0 16px 30px rgba(0,0,0,.14);
  }

  .timeline-right{
    grid-column:3;
    position:relative;
    max-width:430px;
    padding:18px 22px;
    background:rgba(44,44,44,.58);
    border-radius:8px;
    box-shadow:0 16px 30px rgba(0,0,0,.14);
    backdrop-filter:blur(2px);
  }

  .timeline-item:nth-child(even) .timeline-right::before,
  .timeline-item:nth-child(odd) .timeline-right::before{
    top:14px;
    height:calc(100% - 28px);
    width:3px;
  }

  .timeline-item:nth-child(even) .timeline-right::after,
  .timeline-item:nth-child(odd) .timeline-right::after{
    top:10px;
    width:12px;
    height:12px;
  }

  .timeline-item:nth-child(even) .timeline-right::before{
    right:-11px;
  }

  .timeline-item:nth-child(even) .timeline-right::after{
    right:-11px;
  }

  .timeline-item:nth-child(odd) .timeline-right::before{
    left:-11px;
  }

  .timeline-item:nth-child(odd) .timeline-right::after{
    left:-11px;
  }

  .timeline-right h3{
    font-size:16px;
    line-height:1.24;
  }

  .timeline-right p{
    font-size:12px;
    line-height:1.38;
    margin-top:10px;
  }

  .about-allinone{
    padding:72px 0 92px;
  }

  .about-allinone-grid{
    gap:38px;
  }

  .about-allinone-text h2{
    font-size:34px;
    margin-bottom:18px;
  }

  .about-allinone-text p{
    font-size:14px;
    line-height:1.65;
    margin-bottom:12px;
  }
}

/* Mobile kompakter */
@media (max-width: 980px){
  .about-intro-grid,
  .about-allinone-grid{
    grid-template-columns:1fr;
  }

  .page-hero{
    min-height:200px;
  }

  .page-hero-inner{
    min-height:200px;
    align-items:flex-start;
    text-align:left;
    padding-top:0;
  }

  .page-hero h1{
    font-size:40px;
  }

  .about-top-cta{
    margin-top:-10px;
    padding:0 0 30px;
  }

  .about-top-cta .container{
    max-width:none;
  }

  .about-top-cta-inner{
    flex-direction:column;
    align-items:flex-start;
    min-height:auto;
    padding:20px 18px;
    gap:14px;
  }

  .about-top-cta h2{
    font-size:24px;
  }

  .about-top-cta-stack{
    width:100%;
    align-items:stretch;
  }

  .about-top-cta-btn{
    width:100%;
    min-width:0;
    font-size:13px;
    padding:10px 14px;
  }

  .about-intro{
    padding:0 0 38px;
  }

  .about-intro-grid{
    gap:22px;
  }

  .about-intro-text h2,
  .about-allinone-text h2{
    font-size:28px;
    margin-bottom:14px;
  }

  .about-intro-text p,
  .about-allinone-text p{
    font-size:13px;
    line-height:1.55;
    margin-bottom:10px;
  }

  .about-timeline{
    padding:52px 0 42px;
  }

  .timeline-item{
    grid-template-columns:1fr;
    row-gap:8px;
    margin-bottom:18px;
  }

  .timeline-left{
    grid-column:auto;
    justify-content:flex-start;
  }

  .timeline-year{
    font-size:14px;
  }

  .timeline-right,
  .timeline-item:nth-child(even) .timeline-right,
  .timeline-item:nth-child(odd) .timeline-right{
    grid-column:auto;
    justify-self:stretch;
    max-width:none;
    padding:12px 14px;
    border-radius:6px;
  }

  .timeline-right h3{
    font-size:15px;
    line-height:1.22;
  }

  .timeline-right p{
    font-size:12px;
    line-height:1.35;
    margin-top:8px;
  }

  .timeline-item:nth-child(even) .timeline-right::before,
  .timeline-item:nth-child(odd) .timeline-right::before{
    left:-9px;
    right:auto;
    top:12px;
    width:3px;
    height:calc(100% - 24px);
  }

  .timeline-item:nth-child(even) .timeline-right::after,
  .timeline-item:nth-child(odd) .timeline-right::after{
    left:-9px;
    right:auto;
    top:8px;
    width:11px;
    height:11px;
    clip-path:polygon(100% 50%, 0 0, 0 100%);
  }

  .about-allinone{
    padding:52px 0 64px;
  }

  .about-allinone-grid{
    gap:22px;
  }
}