/* ==========================================================================
   ALLGEMEINE STYLES & STARTSEITE
   ========================================================================== */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Helvetica Neue', Arial, sans-serif; 
}

body { 
    background-color: #121212; 
    color: #f5f5f5; 
    line-height: 1.6; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    min-height: 100vh; 
    padding: 20px; 
    font-size: 14px;
}

.container { 
    width: 100%; 
    max-width: 380px; 
    text-align: center; 
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.profile-img {
    width: 100px;
    height: 100px;
    background-color: #121212;
    border-radius: 8px;
    margin: 0 auto 15px auto;
    overflow: hidden;
    border: 1px solid #333;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-img img { 
    width: 90%; 
    height: 90%; 
    object-fit: contain; 
}

h1 { 
    color: #f5f5f5; 
    font-size: 20px; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    margin-bottom: 5px; 
}

.total-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #888;
    margin-bottom: 25px;
}

.total-badge span { color: #f5f5f5; font-weight: bold; }

.links { display: flex; flex-direction: column; gap: 12px; }

.link-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background-color: transparent;
    color: #f5f5f5;
    text-decoration: none;
    font-size: 15px;
    border: 1px solid #333;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.link-btn:hover {
    background-color: #f5f5f5;
    color: #121212;
    border-color: #f5f5f5;
}

.contact-btn {
    background-color: rgba(255, 255, 255, 0.03); 
    margin-top: 10px;
}

.sub-count { 
    font-size: 11px; 
    opacity: 0.6; 
    letter-spacing: 0.5px; 
}

.footer { margin-top: 40px; }
.footer a { 
    color: #444; 
    text-decoration: none; 
    font-size: 11px; 
    transition: color 0.3s; 
}
.footer a:hover { color: #888; }

/* ==========================================================================
   CREATOR TYPOGRAPHY
   ========================================================================== */

.creator-title {
    color: #d2b48c; /* Unser edler Holz-Gold-Ton */
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: -5px;
    margin-bottom: 15px;
    font-weight: 600;
}

.bio-text {
    color: #888;
    font-size: 14px;
    line-height: 1.5;
    max-width: 300px;
    margin: 0 auto 25px auto;
    font-style: italic; /* Macht es persönlicher */
}

/* Optional: Den Namen etwas fetter, damit er sich absetzt */
h1 {
    font-size: 22px;
    margin-bottom: 8px;
}

/* ==========================================================================
   IMPRESSUM SPEZIAL-STYLES
   ========================================================================== */
.impressum-layout { 
    max-width: 600px; 
    text-align: left; 
    color: #888; 
    align-self: flex-start;
    margin-top: 40px;
}

.impressum-layout h1 { 
    font-size: 22px; 
    margin-bottom: 20px; 
    letter-spacing: normal; 
    text-transform: none; 
}

.impressum-layout h2 { 
    color: #ccc; 
    margin-top: 30px; 
    margin-bottom: 10px; 
    font-size: 16px; 
}

.impressum-layout p { margin-bottom: 10px; }

.impressum-layout .back-btn { 
    color: #f5f5f5; 
    text-decoration: none; 
    border: 1px solid #333; 
    padding: 8px 15px; 
    display: inline-block; 
    margin-top: 30px; 
    border-radius: 4px; 
    transition: all 0.3s; 
}

.impressum-layout .back-btn:hover { 
    background-color: #f5f5f5; 
    color: #121212; 
}

/* ==========================================================================
   PORTFOLIO GRID (4 Hochglanzbilder im 1:1 Format)
   ========================================================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Erstellt 2 gleich große Spalten */
    gap: 12px; /* Abstand zwischen den Bildern */
    margin-bottom: 25px; /* Abstand zu den Links darunter */
}

.portfolio-item {
    aspect-ratio: 1 / 1; /* Erzwingt automatisch ein perfektes Quadrat */
    border-radius: 12px; /* Gleiche Rundung wie bei deinen Buttons */
    overflow: hidden;
    border: 1px solid #333;
    background-color: #1a1a1a;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); /* Leichter Schatten */
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Füllt das Quadrat aus, ohne das Bild zu stauchen */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Edler Zoom-Effekt beim Drüberfahren */
.portfolio-item:hover img {
    transform: scale(1.08);
}

/* ==========================================================================
   PURE CSS LIGHTBOX (Klick zum Vergrößern)
   ========================================================================== */

/* Versteckt die Großansicht standardmäßig */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Dunkler, halbtransparenter Hintergrund */
    backdrop-filter: blur(5px); /* Edler Unschärfe-Effekt im Hintergrund */
    justify-content: center;
    align-items: center;
}

/* Der Zaubertrick: Wenn das Element in der URL aufgerufen wird (#img1), wird es sichtbar */
.lightbox:target {
    display: flex;
}

/* Das große Bild selbst */
.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    position: relative;
    z-index: 2;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Der unsichtbare Schließen-Button (liegt über dem ganzen Bildschirm) */
.lightbox-close {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: zoom-out; /* Zeigt eine Lupe mit Minus-Zeichen an */
}