body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: radial-gradient(circle at center,
        rgba(255,0,0,0.25),
        rgba(255,255,0,0.25),
        rgba(0,255,0,0.25),
        rgba(0,255,255,0.25),
        rgba(0,0,255,0.25),
        rgba(255,0,255,0.25),
        rgba(255,0,0,0.25)
    );
    background-color: #f4f4f4;
}

/* Header bleibt sticky, Footer NICHT */
header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: #555555;
    color: white;
    padding: 10px 0;
    z-index: 1000;
}

/* Footer wieder normal sichtbar */
footer {
    position: static; /* WICHTIG: sticky entfernt */
    width: 100%;
    background: #555555;
    color: white;
    padding: 10px 0;
}

.awhite	{
		color: white;		
}

.awhite:hover	{
		color: yellow;
		text-decoration: underline;		
}

/* Inhalt bleibt 65% */
main {
    width: 85%;
    max-width: 1400px;
    margin: 120px auto 0 auto; /* Abstand wegen Sticky-Header */
    background: #ffffff;       /* weißer Content */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Farbboxen */
.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.color-box {
    padding: 10px;
    background: white;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.color {
    width: 100%;
    height: 60px;
    border-radius: 5px;
}

/* Pipette */
.pipette-container {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

#colorWheel {
    cursor: crosshair;
    width: 300px;
    height: 300px;
    flex-shrink: 0;
}

.picked-color {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 2px solid #333;
    background: #000;
}

/* Farbmischer */
.mixer-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    margin: auto;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

#mixer input[type=range] {
    width: 100%;
}

#preview {
    width: 100%;
    height: 80px;
    background: #808080;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Farbkreis & Pipette-Layout */
.farbkreis-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.pipette-container {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

#colorWheel {
    width: 600px !important;
    height: 600px !important;
    cursor: url('img/pipette.svg') 0 24, crosshair;
    flex-shrink: 0;
    display: block;
}

.picked-color,
.complement-color {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 2px solid #333;
}

.export-btn {
    padding: 8px 16px;
    border-radius: 5px;
    border: none;
    background: #0078d4;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.export-btn:hover {
    background: #005a9e;
}

/* Suchbereich */
.search-box {
    margin-top: 30px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.search-box input[type="text"] {
    width: 70%;
    padding: 6px;
    margin-right: 10px;
}

.search-result-item {
    padding: 5px;
    margin: 3px 0;
    border-radius: 4px;
    background: #f0f0f0;
}
