body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: #121212;
    color: #f0e68c;
    margin: 0;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.welcome {

    justify-content: center;
    width: 120%;
    text-shadow:
        0 0 10px hwb(152 0% 0% / 0.5),
        /* Mega-Glow */
        2.5px -2.5px 2px hsla(0, 2%, 25%, 0.678);
    /* Schärferer Schatten */
    z-index: -1;
    min-width: 300px;
    max-width: 800px;
    border: #121212;
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;

    color: hsl(41, 100%, 50%);
}

.container {
    background: #222;
    padding: 2rem 3rem;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    text-align: center;
    min-width: 250px;
    max-width: 600px;
    width: 100%;

}

h1 {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: gold;
}

.goldpreis {
    font-size: 1.2rem;
    margin-bottom: 1rem;
   
}


.update-info {
    text-align: center;
    font-size: 0.9rem;
    color: #ccc;
    margin-top: 1.5rem;
    font-style: italic;
    color: #ff0000;
}

.ankaufsrechner {
color: hsl(0, 0%, 66%);

}

table.goldpreis td.label {
    text-align: right;
    padding-right: 1em;
    font-weight: 600;
}

table.goldpreis td span.preis {
    display: inline-block;
    min-width: 8em;    /* Breite für bessere Ausrichtung */
    text-align: right;
    font-weight: bold;
    color: goldenrod;
}


table.goldpreis td.einheit {
    padding-left: 0.5em;
    text-align: right;
    font-weight: 500;
    color: #aaa;
    white-space: nowrap;
}
.gold-input {
    background: #333;
    color: #f0e68c;
    border: 1px solid goldenrod;
    padding: 0.5rem;
    border-radius: 4px;
    width: 70%;
}

.gold-button {
    background: linear-gradient(to bottom, #ffd700, #daa520);
    color: #121212;
    border: none;
    padding: 0.5rem 1.1rem;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
}

.gold-button:hover {
    background: linear-gradient(to bottom, #daa520, #b8860b);
}

.gold-button {
    /* Existierende Styles beibehalten */
    transition: all 0.3s ease;
}

.gold-button:hover {
    transform: scale(1.02);
}

.gold-button:active {
    transform: scale(0.98);
}
.input-container {
    display: flex;
    align-items: center;
}

.input-hint {
    margin-left: 5px;
    color: #aaa;
    min-width:20x;
}

.settings-form {
    display: grid;
    gap: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
}

.settings-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.settings-form input[type="number"] {
    width: 100px;
    padding: 0.5rem;
    background: #333;
    color: #f0e68c;
    border: 1px solid goldenrod;
    border-radius: 4px;
}

.button-group {
    display: flex;
    gap: 10px;
    margin-top: 2rem;
}

.gold-button {
    /* Bestehende Stile beibehalten */
    flex: 1;
}

footer {
    width: 112%;
    position:relative;
    height: 10px;
    background: none;
    text-align: center;
    color: #bbbbbb6b;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

@media (max-width: 700px) {

    /* Anpassungen für die Preistabelle */
    table.goldpreis {
        width: 100% !important;
    }
    
    table.goldpreis td.label {
        padding-right: 0.5em;
        font-size: 0.9rem;
    }
    
    table.goldpreis td span.preis {
        min-width: 5em !important;
    }
    
    table.goldpreis td.einheit {
        padding-left: 0.2em;
        font-size: 0.8rem;
    }
    
    /* Anpassungen für den Ankaufsrechner */
    .ankaufsrechner table {
        font-size: 0.9rem;
    }
    
    .gold-input {
        width: 80px !important;
    }
}