/* Squarespace-inspiriertes Design */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;700&display=swap');

:root {
    --primary-color: #004287;
    --secondary-color: #f8f8f8;
    --text-color: #333;
    --card-bg: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}
	
body {
    background-color: var(--secondary-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.profil-container {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 8px var(--shadow);
    width: 80%;
    max-width: 900px;
    text-align: center;
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.profilbild {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--primary-color);
}

.statistik {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.statistik ul {
    list-style: none;
    padding: 0;
}

.statistik li {
    margin: 5px 0;
}

.inventar {
    text-align: left;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.muenz-card {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px var(--shadow);
    text-align: center;
    transition: transform 0.2s;
}

.muenz-card:hover {
    transform: translateY(-5px);
}

.muenz-card img {
    width: 100%;
    max-height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

.muenz-card p {
    margin: 10px 0 5px;
}

	svg {
            width: 100%;
            height: auto;
        }
        path {
            stroke: black;
            stroke-width: 0.5;
            cursor: pointer;
            transition: fill 0.2s;
        }
        .tooltip {
            position: absolute;
            background-color: white;
			color: #000;
            border: 1px solid black;
            padding: 5px;
            display: none;
        }
	
	/* Plus-Button */
.plus-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #e94653;
    color: white;
    font-size: 40px;
    text-align: center;
    line-height: 60px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.plus-button:hover {
    background-color: #d23542;
}

/* Münz-Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
}

.popup {
    background: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
    text-align: center;
    position: relative;
}

.popup .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
}

/* Münz-Drehung */
.coin-container {
    width: 150px;
    height: 150px;
    position: relative;
    perspective: 1000px;
    margin: auto;
}

.coin {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    transition: transform 0.8s;
}

.coin img {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
}

.coin .back {
    transform: rotateY(180deg);
}