h1 {
    color: white;

    font-family: "eurostile-extended", sans-serif;
    font-weight: 1000;
    font-style: normal;

    text-align: center;
    font-size: 4.5em;
}



body {
    color: #232323;
    background-color: #232323;
}

h2 {
    font-family: "eurostile-extended", sans-serif;
    font-weight: 550;
    font-style: bold;

    color: white;
    text-align: center;
    font-size: 2em;
    margin-left: 0.3em;

}

p {
    font-family: "eurostile-extended", sans-serif;
    font-weight: 400;
    font-style: normal;

    color: rgb(204, 204, 204);
    text-align: center;
    font-size: 1.5em;
    margin-left: 115,
}

h3 {
    font-family: "eurostile-extended", sans-serif;
    font-weight: 450;
    font-style: bold;

    color: white;
    text-align: center;
    font-size: 1.7em;
    margin-left: 0.2em;
}

/* Layout fixes to avoid grid items overlapping */
* {
    box-sizing: border-box;
}

/* Ensure grid rows size automatically and project cards stretch correctly */
.projects-grid {
    grid-auto-rows: auto;
}

.project-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}

.project-card .project-video {
    width: 100%;
}

/* Contact card styles */
.contact-card {
    max-width: 60rem;
    margin: 28px auto;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 18px;
    border-radius: 12px;
    color: white;
}

.card-content {
    display: flex;
    gap: 14px;
    align-items: center;
}

.avatar {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
}

.contact-info h3 {

    margin: 0 0 6px 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.contact-info p {
    margin: 0 0 12px 0;
    opacity: 0.9;
    text-align: left;
}

.contact-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    transition: transform 140ms ease, box-shadow 140ms ease, opacity 140ms ease;
}

.contact-btn .icon {
    color: inherit;
    opacity: 0.95;
}

.contact-btn:hover {
    transform: translateY(-3px);
}

.contact-btn.instagram {
    /* background: radial-gradient(circle at 30% 30%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: white;*/
    background: #484848;
    border-color: #414141;
}

.contact-btn.email {
    background: #484848;
    border-color: #414141;
}

@media (max-width:600px) {
    .card-content {
        flex-direction: row;
        gap: 12px;
    }

    .contact-info {
        flex: 1;
    }
}

span {
    font-family: eurostile-extended, sans-serif;
    font-weight: 200;
    font-style: normal;
}

/* Responsive YouTube embed */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 90%;
    margin: 20px auto;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Impressum / Footer styles */
.impressum {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 20px 0 36px;
    margin-top: 28px;
    text-align: center;
    color: #bfbfbf;
    background: transparent;
    font-size: 0.95rem;
}

.impressum-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 18px;
}

.impressum a {
    color: #dcdcdc;
    text-decoration: underline;
}

.impressum-title {
    margin: 0 0 6px 0;
    font-weight: 700;
    color: white;
}

.impressum-placeholder {
    opacity: 0.7;
}

.impressum p {
    margin: 6px 0;
}

.impressum-copyright {
    margin-top: 10px;
    font-size: 0.85rem;
    opacity: 0.85;
}

@media (max-width:600px) {
    .impressum {
        font-size: 0.9rem;
        padding-bottom: 26px;
    }
}

/* Projects grid */
.projects-section {
    max-width: 85%;
    max-height: 90%;
    margin: 15% auto;
    padding: 0 18px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 28px;
    align-items: start;
}

.project-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.project-title {
    margin: 0 0 8px 0;
    text-align: left;
}

.project-title a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

.project-title a:hover {
    text-decoration: underline;
}

.project-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 6px;
}

.project-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width:900px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

.project-details {
    max-width: 900px;
    margin: 18px auto;
    color: #d7d7d7;
    text-align: left;
    
}

/* Back button (theme) */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    margin: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: transform 140ms ease, box-shadow 140ms ease, opacity 140ms ease;
    font-family: eurostile-extended, sans-serif;

}

.back-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

@media (max-width:600px) {
    .back-btn {
        margin: 12px;
        padding: 8px 10px;
    }
}

/* Image gallery */
.project-gallery {
    max-width: 900px;
    margin: 36px auto;
    padding: 0 18px;
}

.project-gallery h3 {
    margin-bottom: 16px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width:900px) {
    .gallery-item img {
        height: 320px;
    }
}

@media (max-width:600px) {
    .gallery-item img {
        height: 220px;
    }
}
/* Projekt-Detailseiten: 2-Spalten-Layout */
/*.project-main-flex {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto 0 auto;
    align-items: flex-start;
    padding: 0 18px;
}

.details-col {
    flex: 1 1 50%;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.project-details {
    text-align: left;
    color: #d7d7d7;
    margin: 0 0 18px 0;
}
.project-details h3 {
    text-align: left;
}
.project-details p {
    text-align: left;
    font-size: 1.2em;
    margin: 0 0 12px 0;
}

@media (max-width: 900px) {
    .project-main-flex {
        flex-direction: column;
        gap: 24px;
    }
    .video-col, .details-col {
        min-width: 0;
    }
}

@media (max-width:900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 200px;
    }
}*/