/* Custom styles */
@font-face {
    font-family: 'Squealer';
    src: url('../fonts/Squealer.otf') format('opentype');
}

@font-face {
    font-family: 'Kode Mono';
    src: url('../fonts/KodeMono-VariableFont_wght.ttf') format('truetype');
}

:root {
    --primary-color: #5c9389;
    --primary-color-light: #6ba69c;
    --primary-color-dark: #4a7a71;
    --highlight-color: #f3ab41;
    --font-heading: 'Squealer', sans-serif;
    --font-body: 'Kode Mono', monospace;
    --navbar-height: 3.25rem;
}

.has-background-primary 
{
    background-color: var(--primary-color) !important;
}

body {
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* Link Styles */
a {
    color: var(--primary-color);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--highlight-color) !important;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
}

.navbar-title {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.5rem;
}

.hero {
    background-image: url('../images/hero.jpg');
    background-size: 100% auto;
    background-position: center;
    background-position-y: var(--navbar-height);
    background-repeat: no-repeat;
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    margin-top: var(--navbar-height);
    background-attachment: fixed;
}


.hero-body {
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero .title,
.hero .subtitle {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    /* Für Screenreader und SEO sichtbar */
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
}

.video-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    position: relative;
    width: 100%;
    background: #f5f5f5;
}

.video-section .container-limited {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.video-content {
    flex: 1;
    padding-right: 2rem;
    position: relative;
}

.video-section::after {
    content: '';
    position: absolute;
    bottom: -2em;
    left: 1em;
    width: 100%;
    height: 100%;
    min-height: 300px;
    background-image: url('../images/fernsehturm.png');
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: contain;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.video-content h2,
.video-content p {
    position: relative;
    z-index: 1;
}

.video-content h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
}

.video-content p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 16/9;
    min-height: 260px;
    background: #000;
    border-radius: 0.7rem;
    overflow: hidden;
    margin: 0 auto;
  }
  
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
  }

.vimeo-placeholder {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 0.7rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 480px;
    margin: 0 auto;
}

.vimeo-placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    display: block;
    max-width: 480px;
    margin: 0 auto;
}

.vimeo-activate-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--highlight-color);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 2;
}

.navbar {
    background-color: var(--primary-color);
    box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 30;
    height: var(--navbar-height);
    display: flex;
}

.navbar-item:not(.navbar-title) {
    color: white;
    font-family: var(--font-body);
}

.navbar-item:hover {
    background-color: var(--primary-color-light);
    color: white;
}

.navbar-title:hover {
    color: var(--highlight-color);
}

a.has-text-light:hover {
    color: var(--highlight-color) !important;
}

.navbar-brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: var(--navbar-height);
    flex-grow: 0;
}

.navbar-brand .navbar-item {
    font-weight: bold;
    padding: 0.5rem 1rem;
    flex-grow: 0;
    width: auto;
}

.navbar-menu {
    display: flex;
    flex-grow: 1;
    justify-content: flex-end;
}

.navbar-end {
    display: flex;
    align-items: center;
}

.section {
    padding: 3rem 1.5rem;
    position: relative;
    background: white;
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.team-member-photo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.box {
    transition: transform 0.3s ease;
    border-top: 3px solid var(--primary-color);
    overflow: hidden;
}

.box:hover {
    transform: translateY(-5px);
}

.button.is-primary {
    background-color: var(--primary-color);
}

.button.is-primary:hover {
    background-color: var(--primary-color-light);
}

/* Mobile Navigation Overlay */
@media screen and (max-width: 1024px) {
    .navbar-brand {
        width: 100%;
    }

    .navbar-burger {
        display: block;
        margin-right: 0.5rem;
    }

    .navbar-menu {
        display: none;
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        padding: 1rem;
        box-shadow: 0 8px 16px rgba(10,10,10,.1);
        max-height: calc(100vh - var(--navbar-height));
        overflow-y: auto;
    }

    .navbar-menu.is-active {
        display: block;
    }

    .navbar-end {
        flex-direction: column;
    }

    .navbar-menu .navbar-item {
        display: block;
        padding: 1rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--primary-color-light);
    }

    .navbar-menu .navbar-item:last-child {
        border-bottom: none;
    }

    /* Video Section Responsive */
    .video-section {
        flex-direction: column;
    }
    
    .video-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .video-container {
        width: 100%;
    }
    
    #newsletter {
        flex-direction: column;
    }
    
    #newsletter::after {
        position: relative;
        width: 100%;
        height: 200px;
        transform: none;
        margin-top: 2rem;
    }

    .container-limited {
        flex-direction: column !important;
        align-items: center !important;
    }

    #newsletter .newsletter-form {
        min-height: auto;
        width: 100%;
        max-width: 500px;
    }
    
    .newsletter-poster {
        justify-content: center;
        margin-top: 2rem;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .newsletter-poster img {
        max-width: 100%;
        max-height: 300px;
    }
}

/* Hamburger Menu Styles */
.navbar-burger {
    display: none;
    cursor: pointer;
    height: var(--navbar-height);
    width: 3.25rem;
    margin-left: 0;
    position: relative;
    background: transparent;
    border: none;
    padding: 0;
}

.navbar-burger span {
    background-color: white;
    display: block;
    height: 2px;
    width: 24px;
    position: absolute;
    left: calc(50% - 12px);
    transition: transform 0.3s ease-out;
}

.navbar-burger span:nth-child(1) { top: calc(50% - 8px); }
.navbar-burger span:nth-child(2) { top: calc(50% - 1px); }
.navbar-burger span:nth-child(3) { top: calc(50% + 6px); }

.navbar-burger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar-burger.is-active span:nth-child(2) {
    opacity: 0;
}

.navbar-burger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Listmonk Form Styles */
.listmonk-form .field:not(:last-child) {
    margin-bottom: 1rem;
}

.listmonk-form .field p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.listmonk-form .checkbox.is-small {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.5rem;
}

.listmonk-form .checkbox input[type="checkbox"] {
    margin-right: 0.5rem;
}

.listmonk-form .help {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: #666;
}

.listmonk-form .checkbox.is-small a {
    color: var(--primary-color-light);
    text-decoration: underline;
}

.listmonk-form .checkbox.is-small a:hover {
    color: var(--primary-color);
}

/* Container Max Width */
.container-limited {
    max-width: 1152px !important;
    margin: 0 auto;
    width: 100%;
    padding: 0 2rem;
}

@media screen and (max-width: 768px) {
    .container-limited {
        padding: 0 1.5rem;
    }
}

/* Newsletter Section Styles */
#newsletter {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem;
    position: relative;
}

#newsletter .container-limited {
    display: flex;
    gap: 2rem;
    max-height: 640px;
    min-height: 640px;
    align-items: center;
}

#newsletter .newsletter-form {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 640px; /* Gleiche Höhe wie Container */
    margin-right: 2rem;
}

#newsletter .box {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    width: 100%;
    max-width: 500px;
}

.newsletter-poster {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 640px; /* Gleiche Höhe wie Container */
}

.newsletter-poster img {
    height: auto;
    max-height: 640px;
    width: auto;
    display: block;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    margin-left: 2rem;
}

@media screen and (max-width: 1023px) {
    .navbar-brand {
        width: 100%;
    }

    .navbar-burger {
        display: block !important;
        margin-right: 0.5rem;
    }

    .navbar-menu {
        display: none;
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        padding: 1rem;
        box-shadow: 0 8px 16px rgba(10,10,10,.1);
        max-height: calc(100vh - var(--navbar-height));
        overflow-y: auto;
    }

    .navbar-menu.is-active {
        display: block;
    }

    .navbar-end {
        flex-direction: column;
    }

    .navbar-menu .navbar-item {
        display: block;
        padding: 1rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--primary-color-light);
    }

    .navbar-menu .navbar-item:last-child {
        border-bottom: none;
    }

    #newsletter .container-limited {
        min-height: auto;
        max-height: none;
        flex-direction: column;
    }

    #newsletter .newsletter-form {
        width: 100%;
        justify-content: center;
        min-height: auto; /* Reset für Mobile */
        margin-right: 0;
    }
    
    #newsletter .box {
        margin: 0 auto;
    }
    
    .newsletter-poster {
        width: 100%;
        margin-top: 2rem;
        justify-content: center;
        min-height: auto; /* Reset für Mobile */
    }
    
    .newsletter-poster img {
        max-width: 100%;
        min-width: 280px;
        margin-left: 0;
    }
}

@media screen and (max-width: 600px) {
    .video-container,
    .vimeo-placeholder,
    .vimeo-placeholder-img {
        max-width: 100%;
        min-height: 110px;
    }
}

.main-content {
    margin-top: var(--navbar-height);
} 