/* 
Zoom Template 
http://www..com/preview/_414_zoom
*/

body, html { overflow-x:hidden; }

body {
    font-size: 1em;
    line-height: 1.4;
    font-family: 'Raleway', sans-serif;
    font-style: normal; 
    -webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
    -webkit-text-size-adjust: 100%;
    /* Touch-Optimierungen */
    -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    touch-action: manipulation;
}

h1, h2, h3, h4, h5, h6, span, p { font-family: 'Raleway', sans-serif; }

.blue { color: #6CF; }

.green { color: #CF0; }

h2 {
	padding: 10px 0;
}

p {
	padding: 10px 0;
	text-align: justify;
}

a {
	color: #FF6;
}

a:hover {
	color: #F60;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}
/* Preloader */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff; /* change if the mask should have another color then white */
    z-index: 99; /* makes sure it stays on top */
}

#status {
    width: 200px;
    height: 200px;
    position: absolute;
    left: 50%; /* centers the loading animation horizontally one the screen */
    top: 50%; /* centers the loading animation vertically one the screen */
    background-image: url(../images/status.gif); /* path to your loading animation */
    background-repeat: no-repeat;
    background-position: center;
    margin: -100px 0 0 -100px; /* is width and height divided by two */
}

/*general*/
#main-wrapper {
     overflow: hidden;
}

.container {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.-logo {
	z-index: 1;
}
.-site-title { 
    color: #fff !important; 
    text-shadow: 0px 2px 2px rgba(0, 0, 0, 1);
}

.-site-title a {
	color: #fff;
	text-decoration: none;
}

.-site-title a:hover {
	text-decoration: none;
}


img.slide {
    width: 100%; 
    z-index: -9999999; 
    position: absolute;
}

.active {
    display: block;
}

.inactive {
    /* left: 703px; */
    display: none;
}

/* Hintergrundvideo */
.background-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
    background-color: #000; /* Fallback-Farbe */
    /* Performance-Optimierungen */
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.image-section {
    position: fixed;
}

.image-container {
    position: relative;
}

.image-container img {
    position: absolute;
}

.-content {
    position: static;
    overflow: hidden; 
    margin-top: 20%;
    padding-bottom: 6%;
}

.black-bg {
    background-color: rgba(0,0,0,0.8);
    margin-bottom: 15px;
    margin-top: 0px;
}
.black-bg:before, .black-bg:after {
    content: "";
    display: table;
    line-height: 0;
}
.black-bg:after {
    clear: both;
}
.gray-bg {
    background-color: rgba(65,66,71,0.8);
}
.gray-bg:before, .gray-bg:after {
    content: "";
    display: table;
    line-height: 0;
}
.gray-bg:after {
    clear: both;
}
#dsg-general- {
	color:#00DDFF;
}
.-content section {
    font-family: 'Raleway', sans-serif;
    position: relative; 
    overflow: hidden;
    top: 0; 
    padding-bottom: 20px;
}


.-content-wrapper {
    overflow:hidden;
    width: 1024px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0px;
    padding-right: 0px;
    font-weight: 300;
}

.-content h2 {
    color:#fff;
    font-family: 'Raleway', sans-serif;
    
}

.-content p {
    font-family: 'Raleway', sans-serif;
    color: #fff;
    font-size: 16px;
}

.text-center {
    text-align: center;
}

#map-canvas {
	height: 260px;
}


.footer {
    overflow:hidden; 
    position:fixed; 
    bottom: 10px;
}

.footer-text {
    font-family: 'Raleway', sans-serif; 
    color:#fff; 
    text-shadow: 0px 2px 3px rgba(0, 0, 0, 1);
    margin-left: 30px;
    font-size: 14px;
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}

.btn-menu {
    padding: 20px 0;
    text-align: center;
}

.btn-menu > .fa {
    font-size: 50px;
    margin: 20px 0;
}
.btn-menu > h2 {
    margin: 0;
    font-size: 18px;
}

.change-section {
    color: #fff;
    text-decoration: none;
    /* Touch-Optimierung */
    -webkit-tap-highlight-color: rgba(255,255,255,0.2);
    touch-action: manipulation;
    display: block;
}

.change-section .black-bg {
    transition: all 0.4s ease;
}

.change-section .black-bg > h2 {
    transition: all 0.4s ease;
}

.change-section:hover {
    text-decoration: none;
    color: #246BB2;
}

.change-section:hover .black-bg {
    background-color: rgba(255,255,255,0.8);
}

.change-section:hover .black-bg > h2 {
    color: #246BB2;
}

/* Repository Cards */
#github-repos-container {
    display: flex;
    flex-wrap: wrap;
}

#github-repos-container .col-xs-12,
#github-repos-container .col-sm-12,
#github-repos-container .col-md-4,
#github-repos-container .col-lg-4 {
    display: flex;
}

#github-repos-container .repo-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    width: 100%;
}

#github-repos-container .repo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

#github-repos-container .repo-card h2 {
    margin-top: 0;
    flex-shrink: 0;
}

#github-repos-container .repo-card p {
    flex-grow: 1;
}

#github-repos-container .repo-card p:last-of-type {
    margin-top: auto;
    flex-grow: 0;
}

#github-repos-container h2 a {
    color: #fff;
    text-decoration: none;
}

#github-repos-container h2 a:hover {
    color: #6CF;
}

/* Video Containers */
#mixcloud-container,
#tiktok-container,
#youtube-container {
    margin-top: 15px;
}

#mixcloud-container .black-bg,
#tiktok-container .black-bg,
#youtube-container .black-bg {
    padding: 15px;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

#mixcloud-container .black-bg:hover,
#tiktok-container .black-bg:hover,
#youtube-container .black-bg:hover {
    transform: translateY(-3px);
}

#mixcloud-container img {
    border-radius: 5px;
}

#mixcloud-container h4 a,
#tiktok-container h4 a,
#youtube-container h4 a {
    color: #fff;
    text-decoration: none;
}

#mixcloud-container h4 a:hover,
#tiktok-container h4 a:hover,
#youtube-container h4 a:hover {
    color: #6CF;
}

/* Contact Form */
#contact-form label {
    color: #fff;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

#contact-form .form-control {
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 10px;
}

#contact-form .form-control:focus {
    background-color: rgba(255,255,255,0.2);
    border-color: #6CF;
    color: #fff;
    outline: none;
}

#contact-form .form-control::placeholder {
    color: rgba(255,255,255,0.6);
}

#contact-form .btn-primary {
    background-color: #6CF;
    border-color: #6CF;
    color: #000;
    font-weight: 600;
    padding: 10px 30px;
    transition: all 0.3s ease;
}

#contact-form .btn-primary:hover {
    background-color: #5BB;
    border-color: #5BB;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(102,204,255,0.3);
}

/* Social Media Buttons */
.btn-default {
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    transition: all 0.3s ease;
}

.btn-default:hover {
    background-color: rgba(255,255,255,0.2);
    border-color: #6CF;
    color: #6CF;
    transform: translateY(-2px);
}

/* About Section */
#about-section ul li {
    margin: 8px 0;
    padding: 5px 0;
}

#about-section ul li i {
    margin-right: 8px;
    color: #6CF;
}

#about-section h3 {
    color: #6CF;
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(102,204,255,0.3);
}

/* Feste Zurück-zum-Hauptmenü-Schaltfläche */
#fixed-back-menu {
    position: fixed;
    right: 20px;
    bottom: 80px; /* etwas über dem Footer */
    z-index: 100;
    width: 260px;
}

#fixed-back-menu .btn-menu {
    padding: 10px 0;
}

#fixed-back-menu h2 {
    font-size: 16px;
}

/* Scroll-Top-Button */
.scroll-top {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    border: none;
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    cursor: pointer;
    display: none;
    z-index: 101;
    text-align: center;
}

.scroll-top i {
    line-height: 40px;
}

.scroll-top:hover,
.scroll-top:active {
    background-color: rgba(255,255,255,0.9);
    color: #000;
    transform: scale(1.1);
    transition: all 0.2s ease;
}

.scroll-top:active {
    transform: scale(0.95);
}

/* Tablet und kleinere Displays (bis 1024px) */
@media (max-width: 1024px) {
    .-content-wrapper {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .container {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    #fixed-back-menu {
        width: 200px;
        right: 10px;
        bottom: 70px;
    }
    
    #fixed-back-menu h2 {
        font-size: 14px;
    }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .footer {
        overflow:hidden; 
        position:static;
        text-align: center;
    }
    
    .footer-text {
        margin-left: 0;  
    }
    
    #github-repos-container .col-sm-12,
    #github-repos-container .col-md-4,
    #mixcloud-container .col-sm-12,
    #tiktok-container .col-sm-12,
    #youtube-container .col-sm-12 {
        margin-bottom: 20px;
    }
    
    #github-repos-container .repo-card {
        min-height: 250px;
    }
    
    .-content {
        margin-top: 15%;
        padding-bottom: 4%;
    }
    
    .-site-title {
        font-size: 2em;
    }
    
    .btn-menu {
        padding: 15px 0;
    }
    
    .btn-menu > .fa {
        font-size: 40px;
        margin: 15px 0;
    }
    
    .btn-menu > h2 {
        font-size: 16px;
    }
}

/* Smartphones (bis 767px) */
@media (max-width: 767px) {
    /* Hintergrundvideo für mobile Geräte optimieren */
    .background-video {
        display: block;
        /* Reduzierte Qualität für bessere Performance auf mobilen Geräten */
        object-fit: cover;
    }
    
    /* Touch-freundliche Buttons */
    .btn-menu,
    .btn-primary,
    .btn-default {
        min-height: 44px; /* Apple's empfohlene Mindestgröße für Touch-Targets */
        min-width: 44px;
    }
    
    /* Größere Touch-Bereiche */
    .change-section {
        padding: 5px;
        margin: -5px;
    }
    
    /* Content Wrapper */
    .-content-wrapper {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .container {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Logo und Titel */
    .-logo {
        margin-top: 10px !important;
    }
    
    .-site-title {
        font-size: 1.5em;
        margin: 10px 0;
    }
    
    .-site-title h3 {
        font-size: 0.9em;
    }
    
    /* Content */
    .-content {
        margin-top: 10%;
        padding-bottom: 3%;
    }
    
    /* Menü-Buttons */
    .btn-menu {
        padding: 12px 0;
        margin-bottom: 10px;
    }
    
    .btn-menu > .fa {
        font-size: 35px;
        margin: 10px 0;
    }
    
    .btn-menu > h2 {
        font-size: 14px;
        padding: 5px 0;
    }
    
    /* Text */
    .-content h2 {
        font-size: 1.5em;
        padding: 8px 0;
    }
    
    .-content p {
        font-size: 14px;
        padding: 8px 0;
    }
    
    /* Black-BG Anpassungen */
    .black-bg {
        padding: 15px !important;
        margin-bottom: 10px;
    }
    
    /* Feste Buttons für mobile */
    #fixed-back-menu {
        width: 180px;
        right: 5px;
        bottom: 60px;
    }
    
    #fixed-back-menu .btn-menu {
        padding: 8px 0;
    }
    
    #fixed-back-menu h2 {
        font-size: 12px;
    }
    
    .scroll-top {
        width: 45px;
        height: 45px;
        left: 10px;
        bottom: 10px;
    }
    
    .scroll-top i {
        line-height: 45px;
        font-size: 18px;
    }
    
    /* Footer */
    .footer {
        position: static;
        text-align: center;
        padding: 10px 0;
    }
    
    .footer-text {
        margin-left: 0;
        font-size: 12px;
    }
    
    /* GitHub Repos */
    #github-repos-container .repo-card {
        min-height: 200px;
        padding: 15px !important;
    }
    
    #github-repos-container .repo-card h2 {
        font-size: 1.2em;
    }
    
    /* Video Container */
    #mixcloud-container .black-bg,
    #tiktok-container .black-bg,
    #youtube-container .black-bg {
        padding: 10px !important;
    }
    
    #mixcloud-container iframe,
    #youtube-container iframe {
        height: 200px !important;
    }
    
    /* Kontaktformular */
    #contact-form .form-control {
        padding: 12px;
        font-size: 16px; /* Verhindert Zoom auf iOS */
    }
    
    #contact-form .btn-primary {
        width: 100%;
        padding: 12px 20px;
        font-size: 16px;
    }
    
    /* About Section */
    #about-section .col-sm-6 {
        margin-bottom: 15px;
    }
    
    #about-section h3 {
        font-size: 1.2em;
    }
    
    /* Social Media Buttons */
    .btn-default {
        width: 100%;
        margin: 5px 0 !important;
        padding: 10px;
    }
    
    /* Maps */
    #map-canvas {
        height: 200px;
    }
    
    /* Margin/Padding Anpassungen */
    .margin-top-20 {
        margin-top: 15px;
    }
    
    .margin-bottom-20 {
        margin-bottom: 15px;
    }
}

/* Sehr kleine Smartphones (bis 480px) */
@media (max-width: 480px) {
    .-site-title {
        font-size: 1.2em;
    }
    
    .-site-title h3 {
        font-size: 0.8em;
    }
    
    .-content {
        margin-top: 5%;
    }
    
    .btn-menu > .fa {
        font-size: 30px;
    }
    
    .btn-menu > h2 {
        font-size: 12px;
    }
    
    #fixed-back-menu {
        width: 150px;
        bottom: 50px;
    }
    
    #fixed-back-menu h2 {
        font-size: 11px;
    }
    
    .-content h2 {
        font-size: 1.3em;
    }
    
    .-content p {
        font-size: 13px;
    }
    
    .black-bg {
        padding: 10px !important;
    }
    
    #github-repos-container .repo-card {
        min-height: 180px;
        padding: 10px !important;
    }
}

/* Landscape Mode für Smartphones */
@media (max-width: 767px) and (orientation: landscape) {
    .-content {
        margin-top: 5%;
    }
    
    .-logo {
        margin-top: 5px !important;
    }
    
    .-site-title {
        font-size: 1.3em;
    }
    
    #fixed-back-menu {
        bottom: 50px;
    }
}