* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Eras ITC", "Eras Light ITC", "Arial", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
}

.card {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 900px;
    width: 95%;
    margin: 20px auto;    
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Header */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #824542;
    color: white;
    border-radius: 8px 8px 0 0;
}
.logo {
    height: 80px;
}

/* Navigation */

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Mobile Navigation */

@media (max-width: 600px) {
    nav ul {
       flex-direction: column;
       align-items: center;
       text-align: center;
    }

    nav ul li {
        margin: 10px 0;
    }
}

@media (max-width: 768px) {
    table {
        width: 100%;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    th, td {
        padding: 8px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    th, td {
        font-size: 12px;
        padding: 6px;
    }

    h2, h3 {
        font-size: 18px;
    }

    p {
        font-size: 14px;
    }
}

/* Main Content */

main {
    flex-grow: 1;
    padding: 20px;
    text-align: center;
    color: #824542;
    width: 90%;
    margin: 2em auto 2em;
}

main h1 {
    font-size: 2em;
    margin-bottom: 20px;
}

.toph h1 {
    font-size: 2em;
    margin-bottom: 0;
    color: #824542;
}

.toph h2 {
    font-size: 1.1em;
    margin-bottom: 2em;
    color: #824542;
} 

main h2 {
    margin-bottom: 0em;
    font-size: 1.4em;
}

main h3 {
    margin-bottom: 0.5em;
    font-size: 1em;
    color: #824542;
}

main p {
    margin-top: 0.1em;
    margin-bottom: 2em;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #824542;
    color: white;
    border-radius: 0 0 8px 8px;
    width: 100%;
    margin-top: auto;
}

footer a {
    font-size: 8pt;
    margin-left: 2em;
    color: white;
    text-decoration: underline;
}

/* Formular-Stile */
form {
    display: flex;
    flex-direction: column;
}

label {
    font-weight: bold;
    margin-top: 10px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

textarea {
    height: 150px;
    resize: vertical;
}

/* Absende-Button */
button {
    background-color: #222;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 15px;
}

button:hover {
    background-color: #444;
}

#price {
    padding: 20px;
    text-align: center;
}

#price h2, h3 {
    color: #222;
}

#price table {
    width: 100%;
    max-width: 800px;
    margin: 1em auto;
    border-collapse: collapse;
}

#price table, th, td {
    border: 1px solid #ccc;
}

#price th, td {
    padding: 10px;
    text-align: center;
}

#price th {
    background-color: #333;
    color: white;
}

#price tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

#price p {
    margin: 1em 0;
}

