/* Reset und Basis-Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.47059;
    color: #1d1d1f;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header */
header {
    text-align: center;
    padding: 80px 20px 60px;
    max-width: 980px;
    margin: 0 auto;
}

.logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 24px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

header h1 {
    font-size: 56px;
    font-weight: 600;
    letter-spacing: -0.005em;
    margin-bottom: 8px;
    color: #1d1d1f;
}

.slogan {
    font-size: 28px;
    font-weight: 400;
    color: #86868b;
    margin-top: 8px;
}

/* Main Content */
main {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
    border-bottom: 1px solid #d2d2d7;
}

section:last-of-type {
    border-bottom: none;
}

h2 {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: -0.003em;
    margin-bottom: 20px;
    color: #1d1d1f;
}

/* Über die App */
.about p {
    font-size: 21px;
    line-height: 1.381;
    color: #1d1d1f;
    max-width: 600px;
}

/* Support Formular */
.support p {
    font-size: 21px;
    line-height: 1.381;
    color: #1d1d1f;
    margin-bottom: 30px;
}

form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 8px;
    color: #1d1d1f;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 17px;
    font-family: inherit;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    background-color: #ffffff;
    color: #1d1d1f;
    transition: border-color 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: #0071e3;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

button[type="submit"] {
    background-color: #0071e3;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-size: 17px;
    font-weight: 400;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: inherit;
}

button[type="submit"]:hover {
    background-color: #0077ed;
}

button[type="submit"]:active {
    background-color: #0066cc;
}

/* App Store Button */
.app-store {
    text-align: center;
    padding: 60px 0;
}

.app-store-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 17px;
    font-weight: 400;
    color: #0071e3;
    text-decoration: none;
    border: 1px solid #0071e3;
    border-radius: 8px;
    transition: background-color 0.2s, color 0.2s;
}

.app-store-button:hover {
    background-color: #0071e3;
    color: #ffffff;
}

.app-store-button:active {
    background-color: #0066cc;
    border-color: #0066cc;
}

/* Footer */
footer {
    background-color: #f5f5f7;
    padding: 40px 20px;
    margin-top: 80px;
}

.legal {
    max-width: 980px;
    margin: 0 auto;
}

.legal section {
    padding: 30px 0;
    border-bottom: 1px solid #d2d2d7;
}

.legal section:last-child {
    border-bottom: none;
}

.legal h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1d1d1f;
}

.legal p {
    font-size: 17px;
    line-height: 1.47059;
    color: #1d1d1f;
    margin-bottom: 8px;
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    padding: 20px 0;
}

.footer-links a {
    color: #0071e3;
    text-decoration: none;
    font-size: 17px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #0077ed;
    text-decoration: underline;
}

/* Legal Pages */
.legal-page {
    padding: 40px 0;
    border-bottom: none;
}

.legal-content {
    max-width: 700px;
    margin: 0 auto;
}

.legal-content h2 {
    margin-bottom: 30px;
}

.legal-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    color: #1d1d1f;
}

.legal-content h4 {
    font-size: 19px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 8px;
    color: #1d1d1f;
}

.legal-content p {
    font-size: 17px;
    line-height: 1.47059;
    color: #1d1d1f;
    margin-bottom: 16px;
}

.legal-content ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.legal-content li {
    font-size: 17px;
    line-height: 1.47059;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.back-link {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #d2d2d7;
}

.back-link a {
    color: #0071e3;
    text-decoration: none;
    font-size: 17px;
    transition: color 0.2s;
}

.back-link a:hover {
    color: #0077ed;
    text-decoration: underline;
}

/* Data Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 17px;
}

.data-table thead {
    background-color: #f5f5f7;
}

.data-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #1d1d1f;
    border-bottom: 1px solid #d2d2d7;
}

.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #d2d2d7;
    color: #1d1d1f;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.legal-content a {
    color: #0071e3;
    text-decoration: none;
}

.legal-content a:hover {
    color: #0077ed;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 60px 20px 40px;
    }

    header h1 {
        font-size: 40px;
    }

    .slogan {
        font-size: 21px;
    }

    section {
        padding: 40px 0;
    }

    h2 {
        font-size: 32px;
    }

    .about p,
    .support p {
        font-size: 19px;
    }

    footer {
        padding: 30px 20px;
        margin-top: 60px;
    }

    .legal h3 {
        font-size: 21px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .legal-content h3 {
        font-size: 21px;
    }

    .legal-content h4 {
        font-size: 17px;
    }

    .data-table {
        font-size: 15px;
    }

    .data-table th,
    .data-table td {
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 32px;
    }

    .slogan {
        font-size: 19px;
    }

    h2 {
        font-size: 28px;
    }

    .about p,
    .support p {
        font-size: 17px;
    }
}
