
/*==intro box animation==*/


/* Teaser-top section and box visuals */
.teaser-top {
  padding: 2rem 1rem;
}

.teaser-top .circled-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem;
  border-radius: 50%;
  background: #000; /* black background for all boxes */
  color: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,0.6);
  text-align: center;
  max-width: 400px; /* prevent overly wide circles */
  aspect-ratio: 1 / 1; /* keep perfect circle */
}

/* Animation for teaser boxes merging */
.teaser-top .circled-box.move-left {
  animation: moveLeft 700ms cubic-bezier(.22,.9,.36,1) forwards;
}
.teaser-top .circled-box.move-right {
  animation: moveRight 700ms cubic-bezier(.22,.9,.36,1) forwards;
}

.teaser-top .merged-box.hidden {
  opacity: 0;
  transform: scale(0.98);
  visibility: hidden;
  transition: opacity 300ms ease, transform 300ms ease, visibility 0s linear 300ms;
}

.teaser-top .merged-box.visible {
  opacity: 1;
  transform: scale(1);
  visibility: visible;
  transition: opacity 300ms ease, transform 300ms ease;
}

@keyframes moveLeft {
  0% { transform: translateX(0) scale(1); opacity: 1 }
  60% { transform: translateX(-18%) scale(0.98); opacity: 0.9 }
  100% { transform: translateX(-40%) scale(0.6); opacity: 0 }
}

@keyframes moveRight {
  0% { transform: translateX(0) scale(1); opacity: 1 }
  60% { transform: translateX(18%) scale(0.98); opacity: 0.9 }
  100% { transform: translateX(40%) scale(0.6); opacity: 0 }
}

.teaser-top .circled-box .teaser-title {
  margin: 0 0 .4rem 0;
  font-size: 2rem;
  color: #3862a4;
  text-align: center;
}

.teaser-top .circled-box .teaser-text {
  margin: 0;
  text-align: center;
}

.teaser-top .merged-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem;
  border-radius: 50%;
  background: #000; /* black */
  color: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
  max-width: 500px;
  aspect-ratio: 1 / 1; /* circular */
  text-align: justify;
}


.teaser-arrow {
  font-size: 4rem;
  color: #fff; /* will sit on white gap; we set darker arrow below using fill */
  margin: 0 auto;
}

.teaser-arrow-label {
  font-size: 1.1rem;
  color: #3862a4;
  margin-bottom: 0.25rem;
  text-transform: none;
  letter-spacing: 0.02em;
}

.teaser-arrow {
  background: transparent;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: .25rem .5rem;
}

.teaser-arrow:focus {
  outline: 3px solid rgba(255,255,255,0.15);
  outline-offset: 4px;
  border-radius: .25rem;
}

.teaser-arrow:hover {
  transform: translateY(2px);
}


/* Responsive: stack on small screens */
@media (max-width: 767px) {
  .teaser-top .row { gap: 1rem; }
  .teaser-top .circled-box { max-width: 260px; padding: .75rem; }
  .teaser-top .merged-box { max-width: 320px; margin-top: 1rem; aspect-ratio: 1 / 1; }
  .teaser-top .teaser-arrow { display: block; }
}

/* Ensure inner text scales and wraps inside circles */
.teaser-top .circled-box h3, .teaser-top .circled-box p,
.teaser-top .merged-box h3, .teaser-top .merged-box p {
  margin: 0;
  word-break: break-word;
}


.spacer {
  height: 300px;

}

.main-content {
  text-align: justify;       
  text-justify: inter-word;  
  overflow-wrap: break-word; 
  word-wrap: break-word;   
  hyphens: auto;           
}
/*Fabi css*/

h2.description {
  font-size: 2rem;
  color: #ffffff; 
  text-align: center;
  margin-bottom: 2rem;
  border-bottom: #3862a4 2px solid;
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-item {
    position: relative;
    display: none;
    float: left;
    width: 100%;
    margin-right: -100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: transform .6s 
ease-in-out;
}

.description .sidebar a:hover,
.description .sidebar a:focus,
.description .sidebar a.active {
    background-color: #3862a4; 
}

.description-bubble {
  Background: rgba(245, 245, 250, 0.95);  
  color: #1c1c1e;                         
  border-radius: 1.5rem;
  padding: 1rem 1.5rem;
  max-width: 280px;
  position: relative;
  left: -430px;
  font-size: 1rem;
  line-height: 1.5;
  transform: translateX(900px);
  transition: transform 0.6s ease, opacity 0.4s ease;
  opacity: 1;
  z-index: 10;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.description-connie {
  width: 400px;
  height: auto;
  position: relative;
  bottom: 0;
  left: 43%;
  transform: translateX(-50%);
  z-index: 10;
  margin-bottom: 50px;       
}
.softwarepic {
  display: block;
  margin: 2rem auto;     
  height: 20rem;            
  width: 30rem;             
  object-fit: cover;       
  object-position: center;   
}

/******==================rollup******************/

.rollup {
  overflow: hidden;
  cursor: pointer;
  border: 2px solid #3862a4; 
  border-radius: 2rem;
  background-color: #00000048;
  transition: all 0.3s ease;
  position: relative;
  margin: 1rem 4rem;
  padding: 0.5rem;
}

.rollup p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem;
  font-size: 1rem;
}
.rollup h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.5rem;
  color: #3862a4;
  text-align: center;
  margin: 1rem !important;
}

 .rollup h3::after {
  content: '+';
  font-weight: bold;
  color: white;
  transition: transform 0.3s ease, content 0.3s ease;
}

.rollup.expanded h3::after {
  content: '−';
}

.rollup:not(.expanded) p,
.rollup:not(.expanded) h4.insiderollup,
.rollup:not(.expanded) h4,
.rollup:not(.expanded) img,
.rollup:not(.expanded) figcaption {
  display: none; 
}

.rollup.expanded p,
.rollup.expanded img, 
.rollup.expanded h4,
.rollup:not(.expanded),
 h4.insiderollup,
.rollup.expanded figcaption {
  display: block;
}

h4.insiderollup {
  font-size: 1.3rem;
  color: #3862a4;
  text-align: left;
  margin: 1rem;
}

.highlight {
  background-color: #3862a4;
  color: #ffffff;    
  padding: 0.1rem 0.3rem;
  border-radius: 0.2rem; 
}

#description .introbox {
  justify-content: flex-end ; 
  max-width: 600px;
  margin:1rem;
  margin-left: auto;
  margin-right: 14rem;
  text-align: center ;
  border: 0.5rem solid #3862a4;
  background: #ffffff ;
  border-radius: 2rem ;
  padding: 2rem ;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1) ;
  font-size: 1.2rem ;
  line-height: 1.6 ;
  color: #3862a4;
  opacity:0;
  transition: opacity 0.5s;
}

#description .introbox.show {
  opacity: 1;
}

a {
  text-decoration: none;
}

#connie-1 {
  top: 33%;
 position: absolute; 
}
#connie-2 {
  top: 44%;
 position: absolute;          
}

#connie-3 {
  top: 50%;
 position: absolute;   
}

#connie-4 {
  top: 65%;
 position: absolute; 
 z-index: 3;
}

#SEASTAR {
  top: 67%;
 position: absolute; 
}

/*============================ Infoboxes ============================= */
.info-box {
  background-color: #add7ff;   
  border-radius: 2rem;
  text-align: center;
  height: 100%;
  padding: 1.5rem;
  margin: 0; /* 🚫 keine Außenränder */
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 15px 0 #cacaca69;  
  min-width: 15rem;
  overflow: hidden;
  box-sizing: border-box;
}

.row.mb-4.justify-content-center {
  gap: 2rem; /* ✅ sorgt für saubere Abstände */
}


.info-box p {
  text-align: center !important;
  color: #3862a4;
}

.info-box h4 {
  font-size: 1.3rem;
  color: #3862a4;
  text-align: center;
  margin: 1rem;
}

.info-box2 h4 {
  font-size: 1.3rem;
  color: #3862a4;
  text-align: center;
  margin: 1rem;
}

.info-box h3 {
  font-size: 2rem;
  font-weight:700;
  color: #3862a4; 
  text-align: center;
  margin-bottom: 2rem;
  border-bottom: #3862a4 3px solid;
}

.info-box2 h3 {
  font-size: 2rem;
  font-weight:700;
  color: #3862a4; 
  text-align: center;
  margin-bottom: 2rem;
  border-bottom: #3862a4 3px solid;
}

.info-box:hover {
  transform: translateY(1rem);
}

.img-fluid {
  max-width: 80%;   /* Verkleinert Bild relativ zur Spalte */
  display: block;
  margin: 0 auto;   /* Zentriert das Bild */
}

.rollup-figure { 
  margin: 1rem auto; 
  max-width: 400px; 
  text-align:center; 
}

.rollup-img { 
  width: 100%; 
  height: auto; 
  display:block; 
  border-radius: 0.5rem; 
}

.softwarepic + figcaption.sr-only,
.software-figure figcaption {
  display: block;
  font-size: 0.9rem;
  color: #ffffff;
  text-align: center;
  margin-top: none;
  margin-left: 5rem;
  margin-right: 5rem;
  font-style: normal;
  line-height: 1.3;
  position: static; /* ensure not visually hidden */
}

.sr-only {
  color:#fff;
}
  
.info-box2 {
  background-color: #add7ff;   
  border-radius: 2rem;
  text-align: center;
  height: 100%;
  padding: 1.5rem;
  margin: 0; /* 🚫 keine Außenränder */
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 15px 0 #cacaca69;  
  min-width: 30rem;
  overflow: hidden;
  box-sizing: border-box;
}

.info-box2 p {
  text-align: center !important;
  color: #3862a4;
}

.info-box2 h2 {
  color: #3862a4;
  font-weight: bold; 
}
.info-box2:hover {
  transform: translateY(1rem);
}

.info-box2:hover {
  transform: translateY(1rem);
}

