/* lato-300 - latin */
@font-face {
  font-display: swap; /*  */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/lato-v24-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-regular - latin */
@font-face {
  font-display: swap; /*  */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/lato-v24-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-700 - latin */
@font-face {
  font-display: swap; /*  */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/lato-v24-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* Lokale Inter-Schrift */
/*
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Inter-Regular.woff2") format("woff2");
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Inter-Medium.woff2") format("woff2");
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Inter-Bold.woff2") format("woff2");
}
*/
/* Custom CSS für Portfolio-Website */

/* Grundlegende Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /*font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;*/
	font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    font-weight: 400;
}

/* Variable Font Support */
@supports (font-variation-settings: normal) {
    body {
        /*font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;*/
		font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        font-optical-sizing: auto;
    }
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000 !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: #000000 !important;
    font-weight: 400;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #666666 !important;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: #000000;
}

/* Main Content */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 160px);
}

/* Typography */
.display-4 {
    font-weight: 300;
    color: #000000;
}

.lead {
    font-weight: 400;
    color: #666666;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    color: #000000;
    margin-bottom: 1rem;
}

/* Portfolio Gallery */
.portfolio-section {
    padding: 4rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    /*border-radius: 8px;*/
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.3s ease;
}

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

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1rem 1rem;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.gallery-item:hover .image-overlay {
    transform: translateY(0);
}

.image-caption {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 400;
}

/* Masonry Grid Layout */
#gallery {
    display: block;
    column-count: 1;
    column-gap: 1.5rem;
    column-fill: balance;
}

@media (min-width: 768px) {
    #gallery {
        column-count: 2;
    }
}

@media (min-width: 992px) {
    #gallery {
        column-count: 3;
    }
}

@media (min-width: 1200px) {
    #gallery {
        column-count: 3;
    }
}

.gallery-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 1.5rem;
    break-inside: avoid;
    page-break-inside: avoid;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* About Section */
.about-section {
    /*background-color: #f8f9fa;*/
    padding: 4rem 0;
}

.about-detail-section {
    padding: 4rem 0;
}

.placeholder-image {
    border: 2px dashed #dee2e6;
    color: #6c757d;
    font-weight: 500;
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-dark {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
}

.btn-dark:hover {
    background-color: #333333;
    border-color: #333333;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline-dark {
    color: #000000;
    border-color: #000000;
    background-color: transparent;
}

.btn-outline-dark:hover {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Cards */
.card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: #000000 !important;
    color: #ffffff;
    padding: 2rem 0;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #cccccc;
}

/* Custom Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

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

.lightbox-image-container {
    position: relative;
    text-align: center;
}

.lightbox-image-container img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 60px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    user-select: none;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

.lightbox-caption {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    padding: 15px 30px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    white-space: nowrap;
    max-width: 80vw;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lightbox-caption p {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
}

.lightbox-counter {
    position: absolute;
    top: -50px;
    left: 0;
    color: white;
    font-size: 16px;
    font-weight: 400;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Responsive Lightbox */
@media (max-width: 768px) {
    .lightbox-nav {
        font-size: 40px;
        width: 50px;
        height: 50px;
    }
    
    .lightbox-prev {
        left: -60px;
    }
    
    .lightbox-next {
        right: -60px;
    }
    
    .lightbox-close {
        font-size: 30px;
        width: 40px;
        height: 40px;
        top: -40px;
    }
    
    .lightbox-caption {
        bottom: -50px;
        font-size: 14px;
        padding: 10px 20px;
        max-width: 90vw;
    }
    
    .lightbox-counter {
        top: -40px;
        font-size: 14px;
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {
    .lightbox-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .lightbox-image-container img {
        max-height: 70vh;
    }
    
    .lightbox-nav {
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
    }
    
    .lightbox-caption {
        position: relative;
        bottom: auto;
        margin-top: 20px;
        transform: none;
        left: auto;
    }
    
    .lightbox-counter {
        top: 10px;
        left: 10px;
    }
}

/* Legal Pages */
.legal-section {
    padding: 4rem 0;
}

.legal-section h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.legal-section h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 767px) {
    .main-content {
        margin-top: 70px;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .portfolio-section,
    .about-section,
    .about-detail-section {
        padding: 2rem 0;
    }
    
    #gallery {
        column-count: 2;
    }
    
    .btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.gallery-item img {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Focus States für Accessibility */
.btn:focus,
.nav-link:focus {
    outline: 2px solid #000000;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn {
        display: none !important;
    }
    
    .main-content {
        margin-top: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

