/* ------------- */
/* ---PRESETS--- */
/* ------------- */
:root {
    --technikblau: #00aec2;
    --signalrot: #e5005b;
    --b7-gelb: #fbba00;
    --zukunftsgruen: #94c11a;
    --hellgrau: #555;
    --dunkelgrau: #3c3c3c;
    --kohlenschwarz: #000;
    --waschkauenweiss: #e1e1e1;
}

/* CSS-Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* HTML und Body */
html, body {
    font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    background-color: var(--dunkelgrau);
    color: white;

    line-height: 1.6;
}

/* Links */

a {
    color: var(--technikblau);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.regular {
    font-weight: 400;
}

.medium {
    font-weight: 500; 
}

.bold {
    font-weight: 700; 
}

.heavy {
    font-weight: 900; 
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700; 
    margin: 0.5em 0;
}

p {
    font-weight: 400; 
    line-height: 1.6;
}

section {
    display: grid;
    place-items: center;
    text-align: center;   
}

.content-container {
    max-width: 1200px;
    background-color: var(--waschkauenweiss);
    margin: 0 auto;
    padding: 50px 50px;
    position: relative;
    overflow: visible;
    color: var(--kohlenschwarz);
    font-size: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);;
}

.content-container ul {
    margin-left: 5%
}

.content-container li::marker {
    color: black; /* Fallback */
  }
  
  .marker-blau::marker {
    color: var(--technikblau);
  }
  
  .marker-rot::marker {
    color: var(--signalrot);
  }
  
  .marker-gelb::marker {
    color: var(--b7-gelb);
  }
  
  .marker-gruen::marker {
    color: var(--zukunftsgrün);
  }


/* ------------- */
/* ---DESIGNS--- */
/* ------------- */

/* Farbbänder */

.color-band {
    position: relative;
    width: 100%;
    height: 50px;
    margin-bottom: -15px;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1), 
                0px -2px 4px rgba(0, 0, 0, 1);
    z-index: 10;
}

.color-box {
    display: inline-block;
    position: relative;
    left: -10px;
    top: 0.2rem;
    width: 32px;
    height: 32px;
    margin-right: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Bilder */

.image-effect {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 600px;
}

.image-effect img {
    display: block;
    width: 100%;
    height: auto;
}

.image-effect .bw-img {
    position: absolute;
    top: 0;
    left: 0;
    filter: 
        grayscale(100%)
        contrast(120%)
        brightness(90%)
        blur(90px)
        saturate(90%)
        sepia(70%);

    mask-image: radial-gradient(circle, transparent 20%, black 100%);
    -webkit-mask-image: radial-gradient(circle, transparent 20%, black 100%);
    pointer-events: none;
}

.grain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: url('/public/img/noise.png');
    mix-blend-mode: overlay;
    opacity: 0.05;
    animation: grain-move 1s infinite;
}
/* ------------ */
/* ---HEADER--- */
/* ------------ */

#main-header {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    background-color: var(--dunkelgrau);
    width: 100%;
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#sponsors {
    display: flex;
    align-items: center;
    justify-content: center; 
    flex-grow: 1; 
    padding: 5px 10px;
    max-width: 32%;
    margin: auto;
}

#sponsors p {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0; 
    white-space: nowrap;
}

.sponsor-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding: 5px 15px;
    margin: 0 20px;
    gap: 20px; 
}

.sponsor-logos img {
    max-height: 50px;
    width: auto;
}

/* --------------- */
/* ---MAIN MENU--- */
/* --------------- */

#menu-color-band {
    position: fixed;
    top: 0;
    left: 0;
    width: 10px; 
    height: 100vh; 
    background: var(--technikblau);
    box-shadow: 4px 0 8px rgba(0, 0, 0, 0.2);
    z-index: 8; 
}

#menu-container {
    position: relative;
    display: flex;
    justify-content: flex-end; 
    padding: 20px 20px;
}

/* Burger-Icon */
.burger-menu {
    position: absolute; 
    top: 10px;          
    right: 20px;        
    width: 35px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 9999;
}

/* Burger-Icon Linien */
.burger-menu div {
    width: 100%;
    height: 4px;
    background-color: white;
}

/* Menü Styling */
.menu {
    position: fixed;
    top: 0px;
    right: -100%;  
    width: 18%;
    height: 100vh;
    background-color: var(--hellgrau);
    box-shadow: -4px 0 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    overflow-y: auto;
    z-index: 9998;
    transition: none;  
}

/* Menü sichtbar machen */
.menu.open {
    right: 0;
}

/* Menülisten Styling */
.menu-list {
    list-style: none;
    padding: 0;
    margin-top: 60px;
}

.menu-list > li > a {
    position: relative;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--waschkauenweiss);
    display: flex;
    align-items: center;
    padding: 10px 0;
    transition: color 0.3s ease;
}

/* Farbbox beim Hover anzeigen */
.menu-list > li > a::before {
    content: '';
    display: inline-block;
    position: relative;
    left: -10px;
    top: 0.2rem;
    width: 0;
    height: 0;
    margin-right: 8px;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

/* Untermenü */
.menu-list .sub-menu {
    display: none;
    padding-left: 15px;
}

.menu-list li.has-submenu > a::after {
    content: " ▼";
    font-size: 0.8rem;
}

.menu-list li.open > .sub-menu {
    display: block;
}

/* Footer */

#main-footer {
    background-color: var(--hellgrau);
    color: white;
    padding: 20px 0;
    text-align: center;
}

#main-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#footer-color-band {
    margin-top: -5.3vh;
    transform: skewY(-1deg);

}

#footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

#footer-links ul li {
    display: inline-block;
}

#footer-links a {
    color: var(--kohlenschwarz);
    font-size: 1rem;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

#footer-links a img {
    width: 24px;
    height: 24px;
}

#footer-links a:hover {
    color: var(--technikblau);
    text-decoration: underline;
}

#footer-copyright {
    font-size: 0.875rem;
    margin-top: 3vh;
    opacity: 0.8;
}

/* ------------ */
/* LANDING PAGE */
/* ------------ */

/* Hero-Banner */

#hero-banner {
    background-image: url('../img/hero-banner.jpg');
    background-size: cover;
    background-position: center;
    height: 35vh; 
    display: flex;
    position: relative;
    overflow: visible;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.banner-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; 
    display: block;
}


#hero-banner-logo {
    height: 25%;
    position: absolute;
    top: 25%; 
    transform: translateY(-50%); 
}

.banner-buttons {
    position: absolute;
    top: 3%;
    right: 0;
    display: flex;
    flex-direction: column;
    overflow: visible;
    gap: 8px;
    z-index: 10;
}

.banner-button {
    position: relative;
    background-color: transparent !important;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transform: translateX(calc(100% - 30px));
    transition: none;
    padding: 0;
    height: 30px;
    display: flex;
    align-items: center;
    color: var(--kohlenschwarz);
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;

}

.banner-button:hover {
    text-decoration: none;
    background-color: var(--technikblau)
}

.banner-btn-icon {
    background-color: var(--b7-gelb);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.banner-btn-label {
    background-color: var(--b7-gelb);
    padding: 10px;
    text-align: center;
    flex-grow: 1;
}

.banner-btn-gap {
    width: 5px;
}


#hero-sub-banner-1 {
    background-color: var(--technikblau);
    width: 100%;
    height: 50px;
    overflow: visible;
    transform: skewY(2deg);
    margin-top: 23vh;
    padding-right: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--kohlenschwarz);
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: 900;
}

#hero-sub-banner-2 {
    background-color: var(--signalrot);
    width: 100%;
    height: 50px;
    overflow: visible;
    transform: skewY(-1deg);
    margin-top: 5vh;
    padding-left: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--kohlenschwarz);
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: 900;
}

.page .entry-title {
    display: none;
}

#landing-page-content {
    padding: 20px;
    background-color: var(--dunkelgrau);
    color:white;

    box-shadow: none;
}


/* Teaser-Boxen */

.teaser-container {
    width: calc(100% + 20vh);
    margin-left: -10vh;
    margin-right: -20vh;
    padding: 10px;
}

.teaser-3grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px; 
    margin: 20px;
}

.teaser-4grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; 
    margin: 20px;
}

.teaser-5grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px; 
    margin: 20px;
}

.teaser-6grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px; 
    margin: 20px;
}

.teaser-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    background-color: var(--hellgrau);
    overflow: hidden;
}

.teaser-box a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: white;
    position: absolute;
    top: 0;
    left: 0;
}

.teaser-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.teaser-box-content {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-weight: bold;
    font-size: 1.5rem;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px;
}


/* ----------------- */
/* ---Site Layout--- */
/* ----------------- */

#page-banner {
    background-image: url('../img/hero-banner.jpg');
    background-size: cover;
    background-position: center;
    height: 15vh; 
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

#page-banner a:hover {
    text-decoration: none;
}

#page-banner-content h1 {
    font-size: 0.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

#page-banner-content p {
    font-size: 1.4rem;
    font-weight: 400;
}

#page-sub-banner-1 {
    background-color: var(--signalrot);
    width: 100%;
    height: 50px;
    overflow: visible;
    transform: skewY(1deg);
    margin-top: 12vh;
    padding-right: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--kohlenschwarz);
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: bold;
}

#page-sub-banner-2 {
    background-color: var(--zukunftsgruen);
    width: 100%;
    height: 50px;
    overflow: visible;
    transform: skewY(0deg);
    margin-top: 2vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--kohlenschwarz);
    text-align: center;
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: bold;
}

/* ----------------- */
/* ---- CONTENT ---- */
/* ----------------- */
.float-left {
    float: left;
    margin: 0 20px 20px 0;
    width: 300px;
}

.float-right {
    float: right;
    margin: 0 20px 20px 0;
    width: 300px;
}

.block-heading {
    text-align: left;
    position: relative;
    padding-left: 0%;
    margin-left: -52px

}

.info-box {
    margin: 30px auto;
    max-width: 600px;
    background-color: var(--waschkauenweiss);
    color: var(--kohlenschwarz);
    border-left: 5px solid var(--technikblau);
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-size: 1rem;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 10px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--hellgrau)
}

.info-table th {
    width: 35%;
    font-weight: bold;
    background-color: #ccc;
    color: var(var(--dunkelgrau));
}

.info-table td {
    background-color: var(--waschkauenweiss);
}

/* ----------------- */
/* RESPONSIVE DESIGN */
/* ----------------- */

@media (max-width: 768px) {
    .content-container {
        max-width: 90%;  
        padding: 0 10px; 
    }
    .teaser-2grid,
    .teaser-3grid,
    .teaser-4grid {
        grid-template-columns: 1fr; 
    }
    .teaser-5grid,
    .teaser-6grid {
        grid-template-columns: 2fr; 
    }
    .info-table {
        .info-table th,
        .info-table td {
            padding: 6px;
            font-size: 0.95em;
        }
    }
}

@media (max-width: 480px) {
    .content-container {
        max-width: 100%;  
    }
    .teaser-2grid,
    .teaser-3grid,
    .teaser-4grid,    
    .teaser-5grid,
    .teaser-6grid {
        grid-template-columns: 1fr; 
    }
    .info-table,
    .info-table thead,
    .info-table tbody,
    .info-table th,
    .info-table td,
    .info-table tr {
      display: block;
      width: 100%;
    }
  
    .info-table thead {
      display: none;
    }
  
    .info-table tr {
      margin-bottom: 15px;
      border: 1px solid #ddd;
      padding: 10px;
      background: #fff;
    }
  
    .info-table td {
      display: flex;
      justify-content: space-between;
      padding: 6px 10px;
      font-size: 0.9em;
      border-bottom: 1px solid #eee;
    }
  
    .info-table td::before {
      content: attr(data-label);
      font-weight: bold;
      color: #333;
    }

}


#myCanvas {
    position: absolute;
    top: 50px;
    left: 50px;
    z-index: 10;
    width: 200px;
    height: 200px;
}

