@import url('https://fonts.googleapis.com/css2?family=Alata:wght@700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.increased-line-height {
    line-height: 1.8;
}
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* verhindert horizontale Scrollbar */
    font-family: 'Alata', sans-serif;
    color: white;
    background: black;
}

#company-page {
    width: 100%;
    /* keine Höhe, kein overflow-y hier! */
}


.sticky-nav {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background-color: #ebfb3b;
    padding: 10px;
    text-align: center;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.sticky-nav a {
    margin: 0 15px;
    color: black;
    text-decoration: none;
    font-weight: bold;
    position: relative;
}

.sticky-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: black;
    transition: width 0.4s ease, right 0.4s ease;
}

.sticky-nav a:hover::after {
    width: 100%;
    right: 0;
}

.sticky-nav img {
    height: 40px;
    margin: 0 20px;
}

.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger-menu div {
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 4px;
}

.header-img {
    width: 100%;
    height: 300px;
    background: url('images/header image.jpg') center/cover no-repeat;
    filter: grayscale(100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.header-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.header-img div {
    position: relative;
    z-index: 1;
}

.content-section {
    padding: 100px 20px 50px;
    text-align: center;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 15px;
    box-sizing: border-box;
}

.person {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.person img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.person img:hover {
    transform: scale(1.05);
}

.accordion-content {
    display: none;
    text-align: center;
    margin-top: 10px;
    line-height: 1.6;
    font-weight: bold;
}

.accordion-content p {
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: grayscale(100%);
    opacity: 0.3;
}

.content-with-video {
    position: relative;
    z-index: 1;
}

.what-we-do {
    width: 100%;
    background: linear-gradient(to bottom, #2e2e2e, black);
}

.what-we-do > .limited-width-text {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 2;
    position: relative;
}


.limited-width-text {
    display: block;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    line-height: 1.6;
    text-align: center;
}

.our-projects {
    width: 100%;
    background: linear-gradient(to bottom, black, #ebfb3b);
}

.where-to-find-us {
    width: 100%;
}

#footer {
    padding: 20px;
    background: #333;
    text-align: center;
    width: 100%;
}

#footer a {
    color: #ebfb3b;
    text-decoration: none;
    margin: 0 10px;
}

#footer a:hover {
    text-decoration: underline;
}

.icon {
    width: 100px;
    height: 100px;
    display: block;
    margin: 20px auto;
    max-width: 100%;
    max-height: 100%;
}

.floating-boxes {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 40px;
    padding: 0 20px;
}

.floating-box {
  width: 220px;
  min-height: 140px; /* Startgröße bleibt */
  background-color: rgba(100, 100, 100, 0.7);
  border: 1px solid #ebfb3b;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  position: relative;
  animation: float 4s ease-in-out infinite;
  margin: 20px;

  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}


.floating-box:nth-child(1) { animation-delay: 0s; }
.floating-box:nth-child(2) { animation-delay: 0.5s; }
.floating-box:nth-child(3) { animation-delay: 1s; }
.floating-box:nth-child(4) { animation-delay: 1.5s; }
.floating-box:nth-child(5) { animation-delay: 2s; }

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.floating-box h3 {
    margin: 10px 0 5px;
}

.floating-box p {
    margin: 0;
}

.floating-box-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ebfb3b;
}

.slider-container {
    display: none;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider-content {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider-item {
    min-width: 100%;
    box-sizing: border-box;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.slider-controls button {
    background: none;
    border: none;
    color: #ebfb3b;
    font-size: 2rem;
    cursor: pointer;
    pointer-events: all;
}

.projects-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.project-box {
    background: rgba(100, 100, 100, 0.7);
    border: 1px solid #ebfb3b;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;  
    color: inherit;         
}

.project-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.25);
    text-decoration: none;
}

.project-title {
    font-size: 1.5em;
    color: #ebfb3b;
    margin-bottom: 15px;
}

.project-description {
    font-size: 1em;
    color: white;
    line-height: 1.6;
}

.project-icon {
    font-size: 3em;
    margin-bottom: 20px;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.project-box:hover .project-icon {
    animation: pulse 1s infinite;
}

#video-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    z-index: 2000;
    width: 80%;
    max-width: 1200px;
}

#video-popup video {
    width: 100%;
    height: auto;
    max-height: 80vh;
}

#close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sticky-nav a {
        display: none;
    }

    .sticky-nav img {
        display: block !important;
    }

    .burger-menu {
        display: flex;
    }

    .sticky-nav .burger-menu {
        margin-left: auto;
    }

    .sticky-nav.active {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sticky-nav.active a {
        display: block;
        margin: 10px 0;
    }

    .floating-boxes {
        display: none;
    }

    .slider-container {
        display: block;
    }

    .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    #video-popup {
        width: 90%;
    }

}


:root {
    --color-primary: #ebfb3b;
    --color-secondary: #7b7f4d;
    --color-bg-dark: #0e0e10;
    --color-bg-light: #1c1c1e;
  }
  
  body.p-ai {
    background-color: var(--color-bg-dark);
    color: #f0f0f0;
    scroll-behavior: smooth;
  }
  
  body.p-ai .font-headline {
    font-family: 'Alata', sans-serif;
  }
  
  body.p-ai .font-body {
    font-family: 'Roboto Slab', serif;
  }
  
  #hero-bg {
    background: radial-gradient(ellipse at center, var(--color-bg-light) 0%, var(--color-bg-dark) 70%);
  }
  
  .cta-button {
    background-color: var(--color-primary);
    color: var(--color-bg-dark);
    padding: 0.75rem 2rem;
    font-family: 'Alata', sans-serif;
    font-weight: bold;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px -5px rgba(235, 251, 59, 0.4);
  }
  
  .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(235, 251, 59, 0.6);
  }
  
  .feature-card {
    background-color: rgba(28, 28, 30, 0.5);
    border: 1px solid rgba(123, 127, 77, 0.3);
    padding: 2.5rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    text-align: center;
  }
  
  .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px -10px var(--color-primary);
    border-color: var(--color-primary);
  }
  
  .video-container {
    border: 1px solid var(--color-secondary);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
  }
  
  .video-container:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 30px -10px var(--color-primary);
  }
  
  .video-container video {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .scrollbar-hide::-webkit-scrollbar {
    display: none;
  }
  .scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  
  .carousel-item {
    flex-shrink: 0;
    width: 100%;
    max-width: 90vw;
    snap-align: center;
    padding: 1rem;
  }
  
  .carousel-item > div,
  .carousel-item {
    background-color: rgba(28, 28, 30, 0.5);
    border: 1px solid rgba(123, 127, 77, 0.3);
    padding: 2rem;
    border-radius: 0.5rem;
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(123, 127, 77, 0.5);
    color: white;
    border-radius: 9999px;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s;
  }
  
  .carousel-nav:hover {
    background-color: var(--color-primary);
    color: black;
  }

  /* ... dein restliches CSS hier ... */

@media (max-width: 768px) {
  .sticky-nav a:not(#logo-link) {
    display: none;
  }

  .sticky-nav.active a:not(#logo-link) {
    display: block;
    margin: 10px 0;
    color: black;
    text-align: center;
  }

  #logo-link {
    display: block;
  }

  #logo-link img {
    display: block;
    height: 40px;
    margin: 0 20px;
  }

  .burger-menu {
    display: flex;
  }

  .sticky-nav.active {
    flex-direction: column;
    align-items: center;
  }
}
/* === POLTIS Intro Animation === */

.header-img {
  display: flex;
  justify-content: center; /* horizontal */
  align-items: center;     /* vertikal */
  position: relative;
  width: 100%;
  height: 300px;
  background: url('images/header image.jpg') center/cover no-repeat;
  filter: grayscale(100%);
}


.animated-logo {
    width: 100%;
  max-width: 600px;
text-align: center;
}


#poltis-svg {
  width: 100%;
  height: auto;
}

#poltis-svg text {
  font-family: 'Alata', sans-serif;
  font-size: 48px;
  font-weight: bold;
  fill: white;
  text-anchor: middle;
  dominant-baseline: middle;
}

@media (max-width: 768px) {
  #poltis-svg text {
    font-size: 64px;
  }
}
@media (max-width: 480px) {
  #poltis-svg text {
    font-size: 80px;
  }
}
@media (min-width: 1200px) {
  #poltis-svg text {
    font-size: 90px;
  }
}

