/* Shared base styles for help pages (help.php, about.php, contact.php, privacy.php, terms.php, registrierung.php) */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f7f9f5;
    color: #111;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.scroll {
    min-height: 100vh;
    background-color: #f7f9f5;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 16px;
    padding-bottom: 40px;
    background-color: #f7f9f5;
}

/* Header Top Row */
.header-top-row {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
    margin-bottom: 12px;
}

.back-button {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
}

.back-button:hover {
    background-color: #f3f4f6;
}

.back-button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #111;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-icon {
    width: 56px;
    height: 56px;
    border-radius: 50px;
    background-color: #c6d5ca;
    border: 1px solid #c6d5ca;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #111;
    stroke-width: 1.5;
}

.right-spacer {
    width: 40px;
    height: 40px;
}

/* Header Text */
.header-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 18px;
}

.title {
    font-size: 26px;
    font-weight: 400;
    color: #111;
    text-align: center;
}

.subtitle {
    margin-top: 12px;
    font-size: 16px;
    color: #6B7280;
    text-align: center;
    max-width: 360px;
    line-height: 22px;
}

/* Cards */
.card {
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.warning-card {
    background-color: #fff7ed;
    border-color: #facc15;
}

.section-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 50px;
    background-color: #c6d5ca;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.warning-icon {
    background-color: #fde68a;
}

.icon-badge svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #111;
    stroke-width: 2;
}

.section-title {
    flex: 1;
    font-size: 17.5px;
    font-weight: 400;
    color: #111;
}

.body-text {
    font-size: 14px;
    color: #374151;
    line-height: 22px;
    margin-top: 10px;
}

/* Mobile Optimizations */
@media (max-width: 400px) {
    .container {
        padding: 12px;
    }

    .title {
        font-size: 24px;
    }

    .subtitle {
        font-size: 15px;
        line-height: 20px;
    }

    .section-title {
        font-size: 16px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .back-button:active {
        background-color: #f3f4f6;
    }
}

/* contact.php - Contact Page Specific Styles */
.card .row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.card .card-title {
    font-size: 16px;
    font-weight: 600;
    color: #111;
}

.email-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #c6d5ca;
    padding: 12px 16px;
    border-radius: 25px;
    text-decoration: none;
    color: #111;
    transition: all 0.2s ease;
    margin-bottom: 12px;
}

.email-pill:hover {
    background-color: #b8c7bb;
}

.email-pill svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #111;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.email-text {
    font-size: 14px;
    font-weight: 500;
}

.hint {
    font-size: 13px;
    color: #6B7280;
    text-align: center;
    margin-top: 8px;
}

.info-card {
    margin-top: 12px;
}

.bullet-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
}

.bullet-row:last-child {
    margin-bottom: 0;
}

.bullet-row svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    fill: none;
    stroke: #6B7280;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-top: 2px;
}

.bullet-text {
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
}

.bullet-text .bold {
    font-weight: 600;
    color: #111;
}

.small-hint {
    font-size: 13px;
    color: #6B7280;
    margin-top: 12px;
    text-align: center;
}

/* registrierung.php - Info Highlight Box */
.info-highlight {
    background-color: #f0f7f4;
    border: 1px solid #c6d5ca;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.info-highlight p {
    margin: 8px 0;
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
}

.info-highlight p:first-child {
    margin-top: 0;
}

.info-highlight p:last-child {
    margin-bottom: 0;
}

.info-highlight strong {
    color: #111;
}

/* registrierung.php - Info List */
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li strong {
    color: #111;
    font-weight: 600;
}
