:root {
    --standard-font-size: 17px;
}

/* --- Roboto Fonts --- */
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/Roboto-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/Roboto-Regular.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', sans-serif;
  color: black;
  font-size: var(--standard-font-size);
  background: #dce4e8;
}

/* --- Full-width Sections --- */
.full-width {
  width: 100%;
}

/* Weiße Sections */
.white {
  background: transparent;
  color: #000;
  margin-top: 45px;
  margin-bottom: 45px;
  padding: 0; /* kein internes Padding */
}

/* Farbige Sections */
.colored {
background: #0a0a1a;
color: white;
border-bottom: 3px solid #283a47;

  padding-top: 45px;
  padding-bottom: 45px;
  margin: 0; /* Abstand entsteht durch Padding */
}

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 45px;
}

h1 {
    font-size: 28px;
    font-weight: normal;
    margin-bottom: 45px;
}

/* --- Typografie --- */
h2 {
  font-weight: 700;
  font-size: 24px;
  line-height: 32px; /* exakt */
  margin-bottom: 15px;
}

a {
    font-size: var(--standard-font-size);
}

p {
  font-weight: 500;
  font-size: var(--standard-font-size);
  line-height: 25px;
  margin-bottom: 15px;
}

/* Letztes Element in Section hat kein Margin-Bottom */
.full-width > .container > *:last-child {
  margin-bottom: 0;
}

/* --- Halbe Rows --- */
.row-half {
  display: flex;
  gap: 45px;
  margin-top: 45px;
}

.row-half.second-colored {
    background: white;
    box-shadow: 0px 0 9px #aac1cb, 0px 0 50px #92aab5;
    border: 1px solid #8a9da5;

}
.row-half.second-colored  .box{
    padding-top: 45px;
    padding-bottom: 45px;
    padding-right: 45px;
}
.row-half > div {
  flex: 1;
}

/* --- Drittel Rows --- */
.row-third {
  display: flex;
  gap: 45px;
  margin-top: 45px;
}
.row-third > div {
  flex: 1;
}

/* --- Box Styling --- */
.box {

  border-radius: 4px;
  text-align: left;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .row-half, .row-third {
    flex-direction: column;
  }

  .row-half .box, .row-third .box {
    padding: 45px;
    padding-top: 0px;
  }

  .row-half.second-colored .box {
    padding-top: 0px;
  }

  .row-half .box-no-padding, .row-third .box-no-padding {
    padding: 0px;
  }
}

.top-contact {
    display: flex;
    gap: 45px;
}

.contact-body {
    display: flex;
    gap: 15px;
}

.contact-body p {
    margin: 0px;
}

.contact-body a, .block-right a {
    text-decoration: none;
    color: black;
}

section.contact-section, section.navigation-section {
    margin-top: 15px;
    margin-bottom: 15px;
}

.logo {
    height: 90px;
}

.navigation {
    list-style-type: none;
    display: flex;
    gap: 30px;
    margin-left: 0px;
}

.navigation-section .container {
    display: flex;
    gap: 45px;
    align-items: center;
}

.navigation a {
    text-decoration: none;
    font-size: 28px;
    color: black;
}

.lang-list {
    display: none;
}

.contact-section .container  {
    display: flex;
    justify-content: space-between;
}

.block-right {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

.block-right .selected {
    display: flex;
    align-items: center;
    gap: 15px;
}

.topbar-links {
    display: flex;
    gap: 15px;
}

.additional-links a {
    display: flex;
    gap: 15px;
    align-items: center;
}

.navigation-section + section .container:first-child .row-half:first-child {
    margin-top: 0px;
}

.rounded-corners {
    border-radius: 15px;
    overflow: hidden;
}

.feature {
    display: flex;
    gap: 15px;
    align-items: center;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.package-price {
    font-weight: bold;
    margin-top: 15px;
    text-decoration: underline;
}

.hero {
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url(/img/illustrations/medium/Sygeta-Login-Teaser.png); 
    background-size: cover;
    background-position: center center;
    transform: scale(1.01); /* minimal vergrößern */
    background-color: white;
}

header {
    background-color: white;
    padding-top: 15px;
    padding-bottom: 15px;
    box-shadow: 0px 0 9px #aac1cb, 0px 0 50px #92aab5;
    border-bottom: 1px solid #8a9da5;
}

.package, .module-feature-box {
    background-color: white;
    border-radius: 15px;
    padding: 45px;
    box-shadow: 0px 0 9px #aac1cb, 0px 0 50px #92aab5;
    border: 1px solid #8a9da5;
}

a.button {
    text-decoration: none;
    color: white;
    background-color: #314854;
    padding-left: 45px;
    padding-right: 45px;
    padding-top: 8px;
    padding-bottom: 8px;
    margin-top: 15px;
    border-radius: 45px;
    display: block;
    text-align: center;
    font-weight: normal;
    font-size: 24px;
}

.module-features {
    display: flex;
    flex-wrap: wrap;
    gap: 45px;
    row-gap: 15px;
}

.module-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.module-feature-box {
    margin-bottom: 45px;
}

.module-feature-container {
  column-count: 2;
  column-gap: 45px;
}






/* --- Feature Scroller --- */
.feature-scroller-wrapper {
    position: relative;
    margin-top: 45px;
}

/* Scroller Track */
.feature-scroller {
    display: flex;
    gap: 45px;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Card: exakt 4 sichtbar */
.feature-card {
    flex: 0 0 calc((100% - 135px) / 4);
    border-radius: 15px;
    padding: 30px;

    text-align: center;
    display: flex;
    flex-direction: column;
}

/* Icon */
.feature-icon {
    width: 90px;
    height: 90px;
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
}

/* Title */
.feature-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Text */
.feature-card p {
    flex-grow: 1;
}

/* Arrow */
.feature-arrow {
    margin-left: auto;
}

.feature-arrow img {
    width: 20px;
}

/* Navigation Buttons */
.feature-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #8a9da5;
    background: white;
    box-shadow: 0px 0 9px #aac1cb;
    cursor: pointer;
}

.feature-nav.prev {
    left: -60px;
}

.feature-nav.next {
    right: -60px;
}

.feature-nav::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-right: 2px solid #314854;
    border-bottom: 2px solid #314854;
    transform: rotate(-45deg);
    margin: auto;
}

.feature-nav.prev::before {
    transform: rotate(135deg);
}

/* Responsive */
@media (max-width: 1024px) {
    .feature-card {
        flex: 0 0 calc((100% - 45px) / 2);
    }
}

@media (max-width: 600px) {
    .feature-card {
        flex: 0 0 100%;
    }
}


.video-embed {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.triangle-container {
    margin-top: 52px;
    position: relative;
    z-index: 100;
}

.full-width-triangle {
    width:100%;
    height: 100px;
    position: absolute;
    bottom: 0px;
}


.colored .row-half.second-colored {
    background: white;
    box-shadow: 0px 0 9px #042c47, 0px 0 50px #152228;
    border: 1px solid #22353d;
}

#spinning-globe {
    width: 600px;
    height: 600px;
    position: absolute;
    float: right;
    transform: translateX(4%);
    top: -110px;
    right: 0px;
    border-radius: 200px;
    overflow: hidden;
}

#spinning-globe-floater {
    width: 450px;
    height: 450px;
    float: right;
    background-color: rgba(155, 0, 0, 0.5);
    background-color: transparent;
    overflow: hidden;
    border-radius: 300px;
    shape-outside: circle(100%);
    margin-top: -36px;
    margin-right: 15px;
}

.globe-text {
    position: relative;
    z-index: 100;
}

.globe-container {
    position: relative;
}

.globe-section {
    position: relative;
}

.globe-section .rounded-corners {
    position: relative;
    z-index: 100;
}

b.tagline {
    margin-bottom: 15px;
    display: block;
    color: #90b7ca;
}

.slideshow-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slideshow-images {
    position: relative;
    width: 100%;
}

.slideshow-image {
    display: none;
    width: 100%;
    height: auto;
}

.slideshow-image.active {
    display: block;
}

.row-half.second-colored .box-no-padding {
    padding-top: 0px;
    padding-bottom: 0px;
    padding-right: 0px;
}

.row-centered {
  align-items: center;
}

ul {
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: 20px;
}

li {
    margin-top: 5px;
    margin-bottom: 5px;
}

.container h1 {
    margin-bottom: 15px;
}

section.footer-section {
    background-color: #0a0a1a;
    color: white;
}

footer {
    padding-top: 45px;
    padding-bottom: 45px;
}

footer .links-and-info {
    display: flex;
    justify-content: space-between;
}

.copyright-and-social-media {
    margin-top: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.company-information {
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    gap: 45px;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 10px; 
}


.footer-menu h3 {
    margin-top: 45px;
}

.footer-menu h3:first-child {
    margin-top: 0px;
}

.footer-menu a {
    color: white;
    text-decoration: none;
}

footer .logo {
    max-width: 250px;
    margin-bottom: 33px;
}

.social-media-accounts {
    display: flex;
    align-items: center;
    gap: 45px;
}

.social-media-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: white;
}

@media (max-width:950px) {
    .packages-section .row-third {
        flex-direction: column;
    }
}

@media (max-width:750px) {
    .modules-section .module-feature-container {
        column-count: 1;
    }    
}


@media (max-width:600px) {
    .modules-section .module-feature-container {
        column-count: 1;
    }    

    .module-features {
        flex-direction: column;
    }
}


.video-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 45px;
    width: 100%;
}

.video-card {
    min-width: 0; /* 🔑 extrem wichtig für Grid */
    background: white;
    box-shadow: 0px 0 9px #aac1cb, 0px 0 50px #92aab5;
    border: 1px solid #8a9da5;
}


.video-card .description {
    padding: 45px;
    padding-top: 42px;
}

.video-card img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}



.module-language {
    position: relative;
    cursor: pointer;
}

.module-language .selected {
    display: flex;
    align-items: center;
    gap: 8px;
}

.module-language .lang-list {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    display: none;
    z-index: 1000;
}

.module-language.open .lang-list {
    display: block;
}

.module-language .lang-list ul {
    list-style: none;
    margin: 0;
    padding: 6px 0;
}

.module-language .lang-list li a {
    display: block;
    padding: 8px 14px;
    text-decoration: none;
    color: #333;
}

.module-language .lang-list li a:hover {
    background: #f5f5f5;
}

/* Hamburger Icon */
.hamburger {
    display: none; /* Standard: versteckt auf Desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 3px;
    background-color: #000;
    border-radius: 2px;
    transition: 0.4s;
}

/* Hamburger öffnet sich als X */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile/Tablet Menü */
@media screen and (max-width: 850px) {
    .top-contact {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .navigation {
        position: fixed;
        top: 0; 
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        display: none; /* initially hidden */
        gap: 30px;
        font-size: 2em; /* große Beschriftungen */
        text-align: center;
        z-index: 1000;
        overflow-y: auto;
    }

    .navigation li {
        list-style: none;
    }

    .navigation li a {
        color: #000;
        text-decoration: none;
        transition: color 0.3s;
    }

    .navigation li a:hover {
        color: #0070f3;
    }

    .navigation.active {
        display: flex;
    }

    /* Block-right Links im Mobile Menü verstecken oder anpassen */
    .block-right {
        display: none; /* optional */
    }
}

@media (max-width:1000px) {
    .copyright-and-social-media {
        display: grid;
        gap: 45px;
    }
    footer .links-and-info {
        grid-row: 2;
    }
}


@media (max-width:650px) {
    .social-media-accounts {
        flex-direction: column;
    }
}

@media (max-width: 850px) {
    .globe-container {
        display: grid;
        gap: 45px;
    }
    #spinning-globe {
        position: static;
        transform: none;
        margin-left: auto;
        margin-right: auto;
        width: 600px;
        height: 600px;
    }
    #spinning-globe-floater {
        display: none;
    }
}


.navigation .active a {
	text-decoration:underline;
}
