:root {
    --bg-color: #ffffff;        
    --card-bg: #f4f4f6;         
    --text-color: #1c1c1e;      
    --text-muted: #636366;      
    --accent-color: #e50914;    
    --highlight-color: #e50914; 
    --font-stack: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-stack);
    line-height: 1.5;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 480px; 
    background-color: var(--bg-color);
    position: relative;
    padding-bottom: 40px;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 550px;
    background: url('/images/georges-mauch.jpg') center top / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
    color: #ffffff;
}

/* Klares Text-Inlay für perfekten Kontrast auf dem Foto */
.profile-title {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding: 10px 14px;
    background-color: rgba(12, 12, 13, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 6px;
    border-left: 3px solid var(--accent-color);
}

.action-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.action-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.2);
}

.action-btn:hover {
    transform: scale(1.05);
    background-color: #b8070f; 
}

.action-row svg,
.action-btn svg {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    display: block;
}

.action-btn.lnk-btn svg {
    fill: currentColor !important;
    stroke: none !important;
}

.content-section {
    padding: 0 25px;
}

.section-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin: 30px 0 12px 0;
    font-weight: 700;
}

.link-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--card-bg);
    color: var(--text-color);
    text-decoration: none;
    padding: 16px 20px;
    border-radius: 8px;
    font-weight: 500;
    transition: transform 0.2s, background-color 0.2s, border-color 0.2s;
    border: 1px solid transparent;
}

/* Neu: Rand kriegt beim Mausover die identische Akzentfarbe */
.link-item:hover {
    transform: translateY(-2px);
    background-color: #ffffff;
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.link-item.highlight {
    background: var(--highlight-color);
    color: #ffffff;
    border: 1px solid transparent;
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.15);
}

.link-item.highlight:hover {
    background: #b8070f;
    border-color: #b8070f;
}

.link-item svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0;
    margin-left: 10px;
    color: var(--text-muted);
    transition: color 0.2s;
}

.link-item.highlight svg {
    color: #ffffff;
}

.link-item:hover:not(.highlight) svg {
    color: var(--accent-color); 
}

.bio-footer {
    text-align: center;
    margin-top: 50px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.bio-footer a {
    color: var(--text-muted);
    text-decoration: none;
}

.bio-footer a:hover {
    color: var(--text-color);
}

@media (max-width: 768px) {
    .hero-section {
        height: 85dvh !important;
        min-height: 650px !important;
        background-position: center top !important;
    }
    .hero-overlay {
        /* Startet den weissen Verlauf erst bei 60% der Höhe statt bei 40% */
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 1) 100%) !important;
        padding-bottom: 20px !important;
    }
    /* NEU: Skaliert den Namen und verhindert den Umbruch */
    .profile-name {
        font-size: 2.1rem !important; 
        white-space: nowrap !important;
}