body {
    font-family: Arial, sans-serif;
    background-color: #f4f7f6;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    margin: 0;
}

#wrapper {
    /* Zentralisiert den gesamten Inhalt und setzt die max. Breite */
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.calculator-container, .seo-content {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box; /* Wichtig für die korrekte Breitenberechnung */
}

.seo-content {
    margin-top: 40px;
    /* Stellt sicher, dass es immer unter dem vorherigen Element beginnt */
    clear: both; 
}


h1 {
    color: #004c99;
    font-size: 1.8em;
    text-align: center;
    margin-bottom: 5px;
}

h2 {
    color: #333;
    font-size: 1.3em;
    margin-top: 20px;
}

p {
    color: #666;
    text-align: justify;
    margin-bottom: 25px;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
    font-size: 0.9em;
}

.input-group input[type="number"] {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1em;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

#resultArea {
    margin-top: 30px;
    padding: 20px;
    background-color: #e6f0ff;
    border-radius: 8px;
    text-align: center;
}

#resultArea p {
    font-size: 1.1em;
    color: #004c99;
    margin-bottom: 5px;
}

#resultRate {
    font-size: 2.2em;
    color: #007bff;
    margin: 10px 0;
    font-weight: bold;
}

#details {
    margin-top: 20px;
    padding-top: 15px;
    font-size: 0.9em;
    color: #555;
    text-align: left;
}

#details div {
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
}

#details span.value {
    font-weight: bold;
}

hr {
    margin-top: 25px;
    margin-bottom: 25px;
    border: 0;
    border-top: 1px solid #eee;
}