




@font-face {
    font-family: 'Heebo';
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    src: url('../fonts/heebo-v3-latin-300.woff2') format('woff2'),
         url('../fonts/heebo-v3-latin-300.woff') format('woff'),
         url('../fonts/heebo-v3-latin-300.ttf') format('truetype');
}

@font-face {
    font-family: 'Heebo';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('../fonts/heebo-v3-latin-regular.woff2') format('woff2'),
         url('../fonts/heebo-v3-latin-regular.woff') format('woff'),
         url('../fonts/heebo-v3-latin-regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Heebo';
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url('../fonts/heebo-v3-latin-700.woff2') format('woff2'),
         url('../fonts/heebo-v3-latin-700.woff') format('woff'),
         url('../fonts/heebo-v3-latin-700.ttf') format('truetype');
}

@font-face {
    font-family: 'icons';
    font-weight: normal;
    font-style: normal;
    font-display: block;
    src: url('../fonts/icons.woff2') format('woff2'),
         url('../fonts/icons.woff') format('woff'),
         url('../fonts/icons.ttf') format('truetype'),
         url('../fonts/icons.svg#icons') format('svg');
}


.icon {
    font-family: 'icons';
    font-style: normal;
    font-weight: normal;
    speak: never;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.icon-slider-down::before   { content: "\e900"; }
.icon-slider-left::before   { content: "\e901"; }
.icon-slider-right::before  { content: "\e902"; }
.icon-slider-up::before     { content: "\e903"; }




*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 14px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Heebo', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 1.5;
    color: #000;
    background: #fff;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1 {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 26px;
    line-height: 30px;
    margin: 0 0 20px 0;
}

h2 {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 26px;
    text-transform: uppercase;
    margin: 0 0 16px 0;
}

h3 {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    text-transform: uppercase;
    margin: 0 0 12px 0;
}

h4, h5, h6 {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    margin: 0 0 10px 0;
}

p {
    margin: 0 0 16px 0;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    margin: 0 0 16px 0;
    padding-left: 20px;
}

ul li, ol li {
    margin-bottom: 4px;
}

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

input, textarea, select, button {
    font-family: 'Heebo', sans-serif;
    font-weight: 300;
    font-size: 14px;
}

button {
    cursor: pointer;
}




#wrapper {
    margin-top: 135px;
    min-height: calc(100vh - 135px);
}

.page-content {
    padding: 40px 45px;
}

.page-content--narrow {
    padding: 40px 45px;
    max-width: 800px;
}

.page-content--wide {
    padding: 40px 0;
}

.section {
    margin-bottom: 60px;
}

.container {
    padding: 0 45px;
}




#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 135px;
    background: #fff;
    z-index: 100;
    padding: 0 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo a {
    display: block;
    line-height: 0;
}

.logo img {
    height: 60px;
    width: auto;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}


#main-nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

#main-nav li {
    margin: 0;
}

#main-nav li + li {
    margin-left: 40px;
}

#main-nav a {
    font-family: 'Heebo', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: opacity 0.2s;
    display: block;
    padding: 4px 0;
}

#main-nav a:hover {
    text-decoration: none;
    opacity: 0.6;
}

#main-nav li.active a,
#main-nav a.active {
    font-weight: 700;
}


#filter-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

#filter-nav li {
    margin: 0;
}

#filter-nav li + li::before {
    content: '|';
    color: #ccc;
    margin: 0 10px;
    font-weight: 300;
}

#filter-nav a {
    font-family: 'Heebo', sans-serif;
    font-weight: 300;
    font-size: 13px;
    line-height: 1;
    color: #000;
    text-decoration: none;
    transition: opacity 0.2s;
    display: inline-block;
}

#filter-nav a:hover {
    text-decoration: none;
    opacity: 0.6;
}

#filter-nav li.active a,
#filter-nav a.active {
    font-weight: 700;
}


#hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 200;
    position: relative;
}

#hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #000;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

#hamburger span:nth-child(1) { margin-bottom: 5px; }
#hamburger span:nth-child(2) { }
#hamburger span:nth-child(3) { margin-top: 5px; }


body.menu-open #hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
body.menu-open #hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
body.menu-open #hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}




#mmenu {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 150;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 70px 30px 40px;
    display: flex;
    flex-direction: column;
}

#mmenu.is-open {
    transform: translateX(0);
}

#mmenu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 140;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

body.menu-open #mmenu-overlay {
    opacity: 1;
    pointer-events: all;
}

body.menu-open {
    overflow: hidden;
}

#mmenu nav ul {
    list-style: none;
    margin: 0 0 30px 0;
    padding: 0;
}

#mmenu nav ul li {
    border-bottom: 1px solid #f0f0f0;
}

#mmenu nav ul li:first-child {
    border-top: 1px solid #f0f0f0;
}

#mmenu nav ul li a {
    display: block;
    padding: 14px 0;
    font-family: 'Heebo', sans-serif;
    font-weight: 300;
    font-size: 16px;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
    letter-spacing: 0.03em;
}

#mmenu nav ul li.active a,
#mmenu nav ul li a.active {
    font-weight: 700;
}

#mmenu .mmenu-filter {
    list-style: none;
    margin: 0 0 30px 0;
    padding: 0;
}

#mmenu .mmenu-filter li {
    margin-bottom: 6px;
}

#mmenu .mmenu-filter a {
    font-size: 13px;
    font-weight: 300;
    color: #666;
}

#mmenu .mmenu-filter li.active a {
    font-weight: 700;
    color: #000;
}

#mmenu .mmenu-filter-select {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    background: #fff;
    font-family: 'Heebo', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #000;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23000' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    cursor: pointer;
    margin-bottom: 16px;
}




.projects-grid {
    display: flex;
    flex-wrap: wrap;
    padding: 0 30px;
    margin-bottom: 60px;
}

.projekt {
    width: 33.333%;
    padding: 15px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.projekt.hidden {
    display: none;
}

.projekt.fade-out {
    opacity: 0;
    pointer-events: none;
}

.img-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    z-index: 1;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.img-placeholder img {
    width: 36px;
    height: auto;
    animation: kda-pulse 1.6s ease-in-out infinite;
}

@keyframes kda-pulse {
    0%, 100% { transform: scale(0.75); opacity: 0.35; }
    50%       { transform: scale(1.1);  opacity: 1; }
}

.img-wrap {
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
}

.img-wrap img.lazy {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.img-wrap img.lazy.loaded {
    opacity: 1;
}

.img-wrap.img-loaded .img-placeholder {
    opacity: 0;
}

.img-wrap--hero {
    width: 100%;
    max-height: 70vh;
    overflow: hidden;
}

.img-wrap--hero img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    object-position: center;
    display: block;
}

.img-bg-wrap {
    position: relative;
    overflow: hidden;
}

.img-bg-wrap .img-placeholder {
    position: absolute;
    inset: 0;
}

.img-bg-wrap.img-loaded .img-placeholder {
    opacity: 0;
}

.projekt .thumb {
    width: 100%;
    padding-bottom: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f0f0f0;
    position: relative;
    overflow: hidden;
}

.projekt .thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s;
}

.projekt:hover .thumb::after {
    background: rgba(0, 0, 0, 0.06);
}

.projekt .info {
    margin-top: 8px;
    font-size: 14px;
}

.projekt .titel {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.3;
    color: #000;
}

.projekt .meta {
    color: #666;
    font-size: 12px;
    margin-top: 3px;
    font-weight: 300;
}

.projekt a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.projekt a:hover {
    text-decoration: none;
}


.filter-header {
    padding: 30px 45px 10px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-header h1 {
    margin: 0 30px 0 0;
}


.no-results {
    padding: 40px 45px;
    font-size: 14px;
    color: #666;
    display: none;
}

.no-results.visible {
    display: block;
}




.projekt-detail {
    padding-bottom: 80px;
}

.projekt-hero {
    width: 100%;
    background: #f0f0f0;
    margin-bottom: 0;
}

.projekt-detail-content {
    padding: 40px 45px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.projekt-info-table {
    font-size: 13px;
    line-height: 1.6;
}

.projekt-info-table tr td:first-child {
    font-weight: 400;
    padding-right: 20px;
    padding-bottom: 8px;
    vertical-align: top;
    white-space: nowrap;
    color: #666;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.05em;
}

.projekt-info-table tr td:last-child {
    padding-bottom: 8px;
    vertical-align: top;
}

.projekt-description {
    font-size: 14px;
    line-height: 1.7;
    font-weight: 300;
}

.projekt-description h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

.projekt-description p {
    margin-bottom: 16px;
}


.projekt-gallery {
    padding: 0 45px 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.gallery-grid--2col {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-item {
    cursor: pointer;
    overflow: hidden;
    background: #f0f0f0;
    position: relative;
}

.gallery-item .img-wrap {
    height: 280px;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.25s;
}

.gallery-item:hover::after {
    background: rgba(0, 0, 0, 0.1);
}

.gallery-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, opacity 0.5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.03);
}

.gallery-item .img-wrap .gallery-img {
    height: 100%;
}


.detail-back {
    padding: 20px 45px 0;
    font-size: 13px;
}

.detail-back a {
    color: #666;
    font-weight: 300;
}

.detail-back a:hover {
    color: #000;
}

.detail-back a::before {
    content: '← ';
}




.team-grid {
    display: flex;
    flex-wrap: wrap;
    padding: 0 30px;
    margin-bottom: 60px;
}

.team-member {
    width: 25%;
    padding: 15px;
}

.team-member .photo {
    width: 100%;
    padding-bottom: 100%;
    background-size: cover;
    background-position: center top;
    background-color: #f0f0f0;
    position: relative;
    margin-bottom: 12px;
}

.team-member .name {
    font-weight: 400;
    font-size: 15px;
    margin-bottom: 4px;
}

.team-member .role {
    font-size: 12px;
    color: #666;
    font-weight: 300;
}

.team-member .email {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.team-member .email a {
    color: #666;
}

.team-member .email a:hover {
    color: #000;
}


.office-section {
    padding: 40px 45px;
}

.office-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin-bottom: 40px;
}

.office-images img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.office-text {
    max-width: 700px;
    font-size: 14px;
    line-height: 1.7;
}




.contact-page {
    padding: 40px 45px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    font-size: 14px;
    line-height: 1.8;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 8px;
}

.contact-info a {
    color: #000;
    border-bottom: 1px solid #ccc;
}

.contact-info a:hover {
    border-bottom-color: #000;
}

.contact-map {
    width: 100%;
    height: 400px;
    background: #f0f0f0;
    position: relative;
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}


.contact-form {
    margin-top: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    display: block;
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #ccc;
    background: transparent;
    font-family: 'Heebo', sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: #000;
    outline: none;
    transition: border-color 0.2s;
    border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: #000;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    margin-top: 10px;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    background: #000;
    color: #fff;
    font-family: 'Heebo', sans-serif;
    font-weight: 300;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid #000;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.btn:hover {
    background: #fff;
    color: #000;
}

.btn-outline {
    background: transparent;
    color: #000;
}

.btn-outline:hover {
    background: #000;
    color: #fff;
}


.form-message {
    margin-top: 14px;
    font-size: 13px;
}

.form-message.success {
    color: #2e7d32;
}

.form-message.error {
    color: #c62828;
}




.news-list {
    padding: 0 45px 60px;
}

.news-item {
    display: flex;
    gap: 40px;
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
    align-items: flex-start;
}

.news-item:first-child {
    border-top: 1px solid #e0e0e0;
}

.news-thumb {
    flex-shrink: 0;
    width: 220px;
    height: 160px;
    background-size: cover;
    background-position: center;
    background-color: #f0f0f0;
    overflow: hidden;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-body {
    flex: 1;
    min-width: 0;
}

.news-date {
    font-size: 12px;
    color: #999;
    font-weight: 300;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-title {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 10px;
}

.news-title a {
    color: #000;
}

.news-title a:hover {
    opacity: 0.7;
}

.news-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 14px;
}

.news-read-more {
    font-size: 13px;
    color: #000;
    border-bottom: 1px solid #000;
}

.news-read-more:hover {
    opacity: 0.6;
}


.news-detail {
    padding: 40px 45px 80px;
    max-width: 900px;
}

.news-detail .news-hero {
    width: 100%;
    margin-bottom: 30px;
}

.news-detail .news-hero img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.news-detail .news-date {
    margin-bottom: 10px;
}

.news-detail h1 {
    margin-bottom: 24px;
}

.news-content {
    font-size: 14px;
    line-height: 1.8;
    font-weight: 300;
}

.news-content p {
    margin-bottom: 16px;
}

.news-content img {
    max-width: 100%;
    margin: 20px 0;
}


.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 45px;
    margin-bottom: 40px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 13px;
    color: #000;
    border: 1px solid transparent;
    text-decoration: none;
}

.pagination a:hover {
    border-color: #ccc;
}

.pagination .current {
    font-weight: 700;
    border-color: #000;
}




#footer {
    padding: 20px 45px;
    border-top: 1px solid #e0e0e0;
    font-size: 12px;
    font-weight: 300;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

#footer a {
    color: #666;
    text-decoration: none;
}

#footer a:hover {
    color: #000;
}

#footer .footer-links {
    display: flex;
    gap: 20px;
}




#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#lightbox.active {
    opacity: 1;
    pointer-events: all;
}

#lightbox-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    display: block;
    user-select: none;
}

#lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s;
    padding: 0;
}

#lightbox-close:hover {
    opacity: 1;
}

#lightbox-prev,
#lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    z-index: 1001;
    opacity: 0.7;
    transition: opacity 0.2s;
    padding: 20px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lightbox-prev { left: 16px; }
#lightbox-next { right: 16px; }

#lightbox-prev:hover,
#lightbox-next:hover {
    opacity: 1;
}

#lightbox-counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 300;
    z-index: 1001;
}

#lightbox-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

#lightbox-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

#lightbox-logo {
    width: 44px;
    height: auto;
    animation: kda-pulse 1.6s ease-in-out infinite;
    filter: invert(1);
}

#page-transition {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

#page-transition.active {
    opacity: 1;
    pointer-events: all;
}

#page-transition-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: auto;
    animation: kda-pulse 1.6s ease-in-out infinite;
}




.password-page {
    min-height: 100vh;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 40px 20px;
}


body.page-password #wrapper {
    margin-top: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-password #header {
    display: none;
}

.password-card {
    width: 100%;
    max-width: 380px;
    padding: 50px 40px;
    border: 1px solid #e0e0e0;
}

.password-card .logo-wrap {
    text-align: center;
    margin-bottom: 36px;
}

.password-card .logo-wrap img {
    height: 50px;
    width: auto;
    margin: 0 auto;
}

.password-card h2 {
    font-size: 16px;
    font-weight: 300;
    text-transform: none;
    text-align: center;
    margin-bottom: 28px;
    color: #444;
    letter-spacing: 0;
}

.password-card .form-group input {
    text-align: center;
    letter-spacing: 2px;
    font-size: 16px;
}

.password-card .btn {
    width: 100%;
    display: block;
    text-align: center;
}

.password-error {
    text-align: center;
    font-size: 13px;
    color: #c62828;
    margin-top: 12px;
    display: none;
}

.password-error.visible {
    display: block;
}




body.page-admin #header {
    display: none;
}

body.page-admin #wrapper {
    margin-top: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
}

.admin-login-card {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 50px 40px;
}

.admin-login-card .admin-logo {
    text-align: center;
    margin-bottom: 30px;
}

.admin-login-card .admin-logo img {
    height: 45px;
    width: auto;
    margin: 0 auto;
}

.admin-login-card h1 {
    font-size: 18px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-login-card .btn {
    width: 100%;
    display: block;
    text-align: center;
    padding: 14px;
}

.admin-alert {
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 13px;
    border-left: 3px solid;
}

.admin-alert.error {
    border-color: #c62828;
    color: #c62828;
    background: #fff5f5;
}

.admin-alert.success {
    border-color: #2e7d32;
    color: #2e7d32;
    background: #f5fff5;
}


.admin-bar {
    background: #000;
    color: #fff;
    padding: 10px 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

.admin-bar a {
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    margin-left: 16px;
}

.admin-bar a:hover {
    opacity: 0.7;
}




.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }





@media (max-width: 1024px) {
    .projekt {
        width: 50%;
    }

    .team-member {
        width: 33.333%;
    }

    .projekt-detail-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 30px;
    }

    .contact-page {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px 30px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #main-nav li + li {
        margin-left: 24px;
    }
}


@media (max-width: 768px) {
    
    #header {
        height: 50px;
        padding: 0 15px;
    }

    #wrapper {
        margin-top: 50px;
        min-height: calc(100vh - 50px);
    }

    .logo img {
        height: 32px;
    }

    
    #hamburger {
        display: flex;
    }

    .header-right {
        display: none;
    }

    
    .page-content {
        padding: 24px 15px;
    }

    .page-content--narrow {
        padding: 24px 15px;
    }

    .container {
        padding: 0 15px;
    }

    
    .projects-grid {
        padding: 0 10px;
    }

    .projekt {
        width: 100%;
        padding: 10px;
    }

    .filter-header {
        padding: 20px 15px 10px;
    }

    .no-results {
        padding: 30px 15px;
    }

    
    .detail-back {
        padding: 14px 15px 0;
    }

    .projekt-hero img {
        height: 50vw;
        min-height: 200px;
    }

    .projekt-detail-content {
        padding: 20px 15px;
    }

    .projekt-gallery {
        padding: 0 15px 40px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-img {
        height: 240px;
    }

    
    .team-grid {
        padding: 0 10px;
    }

    .team-member {
        width: 50%;
        padding: 10px;
    }

    .office-section {
        padding: 24px 15px;
    }

    .office-images {
        grid-template-columns: 1fr;
    }

    .office-images img {
        height: 220px;
    }

    
    .contact-page {
        padding: 24px 15px;
    }

    .contact-map {
        height: 260px;
    }

    
    .news-list {
        padding: 0 15px 40px;
    }

    .news-item {
        flex-direction: column;
        gap: 16px;
        padding: 24px 0;
    }

    .news-thumb {
        width: 100%;
        height: 200px;
    }

    .news-detail {
        padding: 24px 15px 60px;
    }

    .pagination {
        padding: 16px 15px;
    }

    
    #footer {
        padding: 16px 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    
    .admin-login-card {
        padding: 36px 24px;
        margin: 16px;
    }

    .password-card {
        padding: 36px 24px;
        margin: 16px;
    }

    
    #lightbox-prev { left: 4px; padding: 16px 10px; }
    #lightbox-next { right: 4px; padding: 16px 10px; }
}


@media (max-width: 480px) {
    .team-member {
        width: 100%;
    }

    .gallery-grid--2col {
        grid-template-columns: 1fr;
    }

    h1 { font-size: 20px; line-height: 24px; }
    h2 { font-size: 18px; line-height: 22px; }
}
