/* Gemma Klima Styles - extracted from test-resp.html */
* {
    box-sizing: border-box;
}
body {
    font-family: Helvetica, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}
.container {
    max-width: 1000px;
    margin: auto;
    overflow: visible;
    padding: 0 20px;
}
.main-nav {
    background: #afca0b;
    position: sticky;
    top: 0;
    z-index: 100;
}
.main-nav ul {
    list-style: none;
    margin: 0 auto;
    padding: 0.75rem calc(20px + clamp(15px, 3vw, 20px));
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 2.5rem;
    max-width: 1000px;
}
.main-nav li {
    display: flex;
    align-items: center;
}
.main-nav a {
    color: #002060;
    font-weight: bold;
    text-decoration: none;
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    line-height: 1;
    display: inline-flex;
    align-items: center;
}
.main-nav a:hover {
    color: #fff;
    text-decoration: none;
}
#mitmachen,
#projektpartner {
    scroll-margin-top: 4rem;
}
header {
    background: #bdd80d url('./bilder/Tomislav-HG-VIdeo_small.jpg') center/cover no-repeat;
    color: #fff;
    padding: 4rem 2rem;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.header-h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: bold;
    margin: 0;
    flex: 1;
    min-width: 200px;
    text-shadow:
        -2px -2px 0 #002060,
        2px -2px 0 #002060,
        -2px 2px 0 #002060,
        2px 2px 0 #002060,
        0 2px 0 #002060,
        2px 0 0 #002060,
        0 -2px 0 #002060,
        -2px 0 0 #002060;
}

a.header-a-h1:link {
    color: #fff;
    text-decoration: none;
}

a.header-a-h1:visited {
    color: #fff;
    text-decoration: none;
}

a.header-a-h1:hover {
    color: #73ca10;
    text-decoration: none;
}

.header-img {
    width: clamp(150px, 25vw, 300px);
    height: auto;
    max-height: 300px;
    object-fit: contain;
}
.section0-left {
    text-align: left;
}
.section0-right {
    text-align: right;
}

section {
    background: #fff;
    margin: 20px 0;
    padding: clamp(15px, 3vw, 20px);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.news-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    column-gap: 1.25rem;
    align-items: start;
}
.news-item__body {
    min-width: 0;
}
.news-item__body > *:first-child {
    margin-top: 0;
}
.news-item__body li + li {
    margin-top: 10px;
}
.news-item__image {
    width: 250px;
    height: 250px;
    display: block;
    object-fit: cover;
    background: #e8e8e8;
}

#section1 {
    font-family: 'Helvetica', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
}

#section8 {
  margin-top: -30px;
  padding: 0px;
  height: clamp(100px,50vw,500px);
  background-image: url(./bilder/GEMMA-KLIMA_Treffs_Graz_neu.jpg);
  background-size: contain;
  background-position: top;
  background-repeat: no-repeat;
  margin-bottom: -50px;
}

#section2 {
    height: clamp(500px, 100vh, 600px);
    background-image: url(./bilder/GEMMA-KLIMA_Gruppenbild.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#section2 + p {
    text-align: center;
}


#video {
    text-align: center;
}
#video video {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-top: 0;
}
ul {
    padding-left: clamp(15px, 3vw, 20px);
}
em {
    font-size: 1.2em;
}

a {
    color: #73ca10;
    text-decoration: none;
}

a:hover {
    color: #4c8808;
    text-decoration: underline;
}
footer {
    text-align: center;
    padding: clamp(2rem, 5vw, 10%);
    margin-top: 20px;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    color: #666;
}
.form-group-set {
    border: none;
    margin: 0 0 1.5rem 0;
    padding: 0;
}
.form-group-set legend {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: bold;
    margin-bottom: 1rem;
    padding: 0;
}
.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: bold;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    color: #333;
    background: #fff;
}
.form-group select {
    cursor: pointer;
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid #73ca10;
    outline-offset: 1px;
    border-color: #73ca10;
}
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 1rem;
}
.form-check input[type="checkbox"] {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
    accent-color: #73ca10;
    cursor: pointer;
}
.form-check label {
    font-weight: normal;
    cursor: pointer;
}
.form-group textarea {
    min-height: 120px;
    resize: vertical;
}
.required {
    color: #73ca10;
}
.form-hinweis {
    margin: 1.25rem 0 0.75rem 0;
    font-size: 0.95rem;
}
.form-submit {
    display: inline-block;
    margin: 0.5rem 0 0 0;
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 8px;
    background: #73ca10;
    color: #fff;
    font-family: Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
}
.form-submit:hover {
    background: #4c8808;
}
.form-submit:disabled {
    opacity: 0.65;
    cursor: wait;
}
.form-status {
    margin: 0.75rem 0 1.5rem 0;
    min-height: 1.4em;
}
.form-status.success {
    color: #4c8808;
    font-weight: bold;
}
.form-status.error {
    color: #b00020;
    font-weight: bold;
}
.form-honey {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.logo-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
}
.logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 200px;
    max-height: 200px;
}
.logo-item img {
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
    object-fit: contain;
}
@media (max-width: 600px) {
    .news-item {
        grid-template-columns: 1fr;
    }
    .news-item__image {
        width: 100%;
        max-width: 250px;
        height: auto;
        aspect-ratio: 1 / 1;
        justify-self: start;
    }
}
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    .main-nav ul {
        padding-left: calc(15px + 15px);
        padding-right: calc(15px + 15px);
    }
    header {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
    }
    .header-h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    .header-img {
        width: 200px;
        height: auto;
    }
    section {
        margin: 15px 0;
        padding: 15px;
    }
    #section2 {
        height: 200px;
    }
    .logo-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
        padding: 1rem 0;
    }
    .logo-item {
        max-width: 120px;
        max-height: 120px;
    }
}
@media (min-width: 481px) and (max-width: 800px) {
    .container {
        padding: 0 20px;
    }
    header {
        padding: 4rem 3rem;
    }
    .header-h1 {
        font-size: 3rem;
    }
    .header-img {
        width: 250px;
    }
    #section2 {
        height: 300px;
    }
    .logo-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
    .logo-item {
        max-width: 120px;
        max-height: 120px;
    }
}
@media (min-width: 801px) {
    .container {
        padding: 0 40px;
    }
    .main-nav ul {
        padding-left: calc(40px + clamp(15px, 3vw, 20px));
        padding-right: calc(40px + clamp(15px, 3vw, 20px));
    }
    header {
        padding: 4rem 6rem;
    }
    .header-h1 {
        font-size: 4rem;
        padding-left: 5%;
    }
    .header-img {
        width: 300px;
        margin-bottom: -80px;
    }
    #section2 {
        height: 400px;
    }
    .content-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: start;
    }
    .content-grid section {
        margin: 0;
    }
}
@media (min-width: 1200px) {
    .container {
        padding: 0 60px;
    }
    .main-nav ul {
        padding-left: calc(60px + clamp(15px, 3vw, 20px));
        padding-right: calc(60px + clamp(15px, 3vw, 20px));
    }
    header {
        padding: 6rem 8rem;
    }
} 