:root {
    --kindred-bg: #0d0d0d;
    --kindred-surface: #141414;
    --kindred-surface-soft: #1a1816;
    --kindred-surface-hover: #211e1a;
    --kindred-border: rgba(205, 181, 145, .20);
    --kindred-border-strong: rgba(205, 181, 145, .42);
    --kindred-text: #d8d4cf;
    --kindred-muted: #8f8a84;
    --kindred-accent: #b99a72;
    --kindred-accent-light: #d5bea1;
    --kindred-danger: #b97878;
    --kindred-success: #8eaf93;
    --kindred-shadow: 0 18px 50px rgba(0, 0, 0, .35);
    --kindred-radius: 18px;
}

.kindred-wrap {
    width: min(1180px, calc(100% - 40px));
    margin: 34px auto 60px;
    color: var(--kindred-text);
}

.kindred-wrap *,
.kindred-wrap *::before,
.kindred-wrap *::after {
    box-sizing: border-box;
}

.kindred-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 18px;
    padding: 10px;
    border: 1px solid var(--kindred-border);
    border-radius: 999px;
    background: rgba(14, 14, 14, .88);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .24);
    backdrop-filter: blur(12px);
}

.kindred-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 15px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--kindred-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    text-decoration: none;
    text-transform: uppercase;
    transition: .2s ease;
}

.kindred-nav a:hover {
    border-color: var(--kindred-border);
    background: var(--kindred-surface-hover);
    color: var(--kindred-accent-light);
}

.kindred-section,
.kindred-profile {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid var(--kindred-border);
    border-radius: var(--kindred-radius);
    background:
        radial-gradient(circle at 95% 0%, rgba(185, 154, 114, .10), transparent 28%),
        linear-gradient(145deg, rgba(22, 22, 22, .98), rgba(13, 13, 13, .98));
    box-shadow: var(--kindred-shadow);
}

.kindred-section::before,
.kindred-profile::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--kindred-accent), transparent);
    opacity: .55;
}

.kindred-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 25px;
}

.kindred-section h1,
.kindred-profile h1 {
    margin: 5px 0 0;
    color: #eeeae5;
    font-size: clamp(27px, 4vw, 42px);
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1.08;
}

.kindred-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--kindred-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .20em;
    text-transform: uppercase;
}

.kindred-kicker::before {
    content: "✦";
    font-size: 10px;
}

.kindred-spark-counter {
    padding: 10px 14px;
    border: 1px solid var(--kindred-border);
    border-radius: 999px;
    background: rgba(185, 154, 114, .07);
    color: var(--kindred-accent-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
}

.kindred-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
    gap: 20px;
}

.kindred-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--kindred-border);
    border-radius: 17px;
    background: linear-gradient(160deg, #181818, #111);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.kindred-card:hover {
    transform: translateY(-4px);
    border-color: var(--kindred-border-strong);
    box-shadow: 0 20px 42px rgba(0, 0, 0, .42);
}

.kindred-card-image {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #171513;
}

.kindred-card-image::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(transparent, rgba(10, 10, 10, .88));
    pointer-events: none;
}

.kindred-card-image img,
.kindred-profile-cover img,
.kindred-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.kindred-card:hover .kindred-card-image img {
    transform: scale(1.035);
}

.kindred-image-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at center, rgba(185, 154, 114, .14), transparent 48%),
        #151412;
    color: var(--kindred-accent);
    font-size: 58px;
}

.kindred-card-body {
    padding: 18px 18px 20px;
}

.kindred-card h2,
.kindred-match-card h2 {
    margin: 0 0 5px;
    font-size: 20px;
    font-weight: 600;
}

.kindred-card h2 a {
    color: #eeeae5;
    text-decoration: none;
}

.kindred-card h2 a:hover {
    color: var(--kindred-accent-light);
}

.kindred-card-subtitle,
.kindred-profile-subtitle {
    color: var(--kindred-muted);
    font-size: 12px;
    line-height: 1.6;
}

.kindred-card p {
    min-height: 42px;
    margin: 12px 0 0;
    color: #aaa49e;
    font-size: 13px;
    line-height: 1.65;
}

.kindred-tags {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin: 14px 0 0;
}

.kindred-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid rgba(185, 154, 114, .18);
    border-radius: 999px;
    background: rgba(185, 154, 114, .07);
    color: #c7b59f;
    font-size: 11px;
    line-height: 1;
}

.kindred-card-actions,
.kindred-profile-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 17px;
}

.kindred-wrap .button,
.kindred-wrap button.button,
.kindred-wrap input.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 14px;
    border: 1px solid var(--kindred-border-strong);
    border-radius: 10px;
    background: transparent;
    color: var(--kindred-accent-light);
    font: inherit;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .10em;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: .2s ease;
}

.kindred-wrap .button:hover,
.kindred-wrap button.button:hover,
.kindred-wrap input.button:hover {
    background: var(--kindred-accent);
    color: #111;
}

.kindred-inline-form {
    display: inline-flex;
    margin: 0;
}

.kindred-match-label,
.kindred-sent-label {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 9px 13px;
    border: 1px solid var(--kindred-border);
    border-radius: 10px;
    background: rgba(185, 154, 114, .07);
    color: var(--kindred-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.kindred-match-label {
    color: var(--kindred-success);
}

.kindred-profile-hero {
    display: grid;
    grid-template-columns: minmax(230px, 34%) 1fr;
    gap: 34px;
    align-items: center;
}

.kindred-profile-cover {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 1px solid var(--kindred-border);
    border-radius: 16px;
    background: #151412;
    box-shadow: 0 16px 38px rgba(0, 0, 0, .32);
}

.kindred-profile-heading > p {
    max-width: 680px;
    color: #b3ada7;
    font-size: 15px;
    line-height: 1.8;
}

.kindred-profile-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(250px, .8fr);
    gap: 20px;
    margin-top: 25px;
}

.kindred-panel {
    margin-bottom: 16px;
    padding: 20px;
    border: 1px solid var(--kindred-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, .018);
}

.kindred-panel h2 {
    margin: 0 0 13px;
    color: var(--kindred-accent-light);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.kindred-panel p {
    margin: 0;
    color: #b6b0aa;
    line-height: 1.75;
}

.kindred-facts div {
    padding: 12px 0;
    border-bottom: 1px solid var(--kindred-border);
}

.kindred-facts div:last-child {
    border-bottom: 0;
}

.kindred-facts span {
    display: block;
    margin-bottom: 4px;
    color: var(--kindred-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.kindred-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.kindred-gallery img {
    aspect-ratio: 1;
    border: 1px solid var(--kindred-border);
    border-radius: 10px;
}

.kindred-form {
    display: grid;
    gap: 20px;
}

.kindred-form label {
    display: grid;
    gap: 8px;
    color: var(--kindred-accent-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
}

.kindred-form fieldset {
    margin: 0;
    padding: 18px;
    border: 1px solid var(--kindred-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, .015);
}

.kindred-form legend {
    padding: 0 8px;
    color: var(--kindred-accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.kindred-form textarea,
.kindred-form input[type="text"],
.kindred-form input[type="file"],
.kindred-form select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--kindred-border);
    border-radius: 9px;
    background: #0f0f0f;
    color: var(--kindred-text);
    font: inherit;
}

.kindred-form textarea:focus,
.kindred-form input[type="text"]:focus,
.kindred-form select:focus {
    border-color: var(--kindred-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(185, 154, 114, .10);
}

.kindred-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.kindred-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    gap: 9px;
}

.kindred-check-grid label {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 11px;
    border: 1px solid var(--kindred-border);
    border-radius: 9px;
    background: #111;
    color: #bdb6ae;
    cursor: pointer;
}

.kindred-check-grid label:hover {
    border-color: var(--kindred-border-strong);
    background: var(--kindred-surface-hover);
}

.kindred-empty {
    grid-column: 1 / -1;
    padding: 42px 25px;
    border: 1px dashed var(--kindred-border-strong);
    border-radius: 15px;
    color: var(--kindred-muted);
    text-align: center;
}

.kindred-prompt {
    position: relative;
    padding-left: 25px;
}

.kindred-prompt::before {
    content: "“";
    position: absolute;
    top: 12px;
    left: 8px;
    color: var(--kindred-accent);
    font-size: 34px;
    line-height: 1;
    opacity: .45;
}

@media (max-width: 760px) {
    .kindred-wrap {
        width: min(100% - 20px, 1180px);
        margin-top: 18px;
    }

    .kindred-nav {
        border-radius: 14px;
    }

    .kindred-section,
    .kindred-profile {
        padding: 18px;
    }

    .kindred-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .kindred-profile-hero,
    .kindred-profile-columns,
    .kindred-form-grid {
        grid-template-columns: 1fr;
    }

    .kindred-profile-cover {
        max-width: 420px;
    }
}

@media (max-width: 480px) {
    .kindred-grid {
        grid-template-columns: 1fr;
    }

    .kindred-nav a {
        flex: 1 1 calc(50% - 8px);
    }

    .kindred-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Profilfragen-Auswahl */
.kindred-prompt-picker {
    position: relative;
}

.kindred-prompt-picker__intro {
    margin-bottom: 12px;
    color: var(--kindred-muted);
    font-size: 13px;
    line-height: 1.65;
}

.kindred-prompt-picker__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    padding: 7px 11px;
    border: 1px solid var(--kindred-border);
    border-radius: 999px;
    background: rgba(255,255,255,.025);
    color: var(--kindred-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.kindred-prompt-picker__status.is-valid {
    border-color: rgba(116, 170, 127, .42);
    color: #8fc49a;
}

.kindred-prompt-picker__items {
    display: grid;
    gap: 12px;
}

.kindred-prompt-choice {
    overflow: hidden;
    border: 1px solid var(--kindred-border);
    border-radius: 13px;
    background: #111;
    transition: border-color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease;
}

.kindred-prompt-choice:hover {
    border-color: var(--kindred-border-strong);
    transform: translateY(-1px);
}

.kindred-prompt-choice.is-selected {
    border-color: rgba(185,154,114,.58);
    background: linear-gradient(135deg, rgba(185,154,114,.09), rgba(255,255,255,.015));
    box-shadow: 0 12px 32px rgba(0,0,0,.18);
}

.kindred-prompt-choice__head {
    display: flex !important;
    align-items: center;
    gap: 13px !important;
    width: 100%;
    box-sizing: border-box;
    padding: 17px 18px;
    color: var(--kindred-text) !important;
    font-size: 13px !important;
    line-height: 1.55;
    cursor: pointer;
    user-select: none;
}

.kindred-prompt-choice__checkbox {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.kindred-prompt-choice__question {
    flex: 1 1 auto;
    font-weight: 700;
}

.kindred-prompt-choice__icon {
    position: relative;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(185,154,114,.36);
    border-radius: 50%;
    color: var(--kindred-accent-light);
    transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.kindred-prompt-choice__icon::before,
.kindred-prompt-choice__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 1px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform .25s ease;
}

.kindred-prompt-choice__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.kindred-prompt-choice.is-selected .kindred-prompt-choice__icon {
    border-color: rgba(185,154,114,.68);
    background: rgba(185,154,114,.14);
    transform: rotate(180deg);
}

.kindred-prompt-choice.is-selected .kindred-prompt-choice__icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.kindred-prompt-choice__answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 18px;
    visibility: hidden;
    transition: max-height .38s ease, opacity .25s ease, padding .38s ease, visibility .38s ease;
}

.kindred-prompt-choice.is-selected .kindred-prompt-choice__answer {
    max-height: 420px;
    opacity: 1;
    padding: 0 18px 18px;
    visibility: visible;
}

.kindred-prompt-choice__answer textarea {
    display: block;
    width: 100%;
    min-height: 120px;
    box-sizing: border-box;
    resize: vertical;
    padding: 13px 14px;
    border: 1px solid var(--kindred-border);
    border-radius: 9px;
    background: rgba(255,255,255,.025);
    color: var(--kindred-text);
    font: inherit;
    line-height: 1.65;
}

.kindred-prompt-choice__answer textarea:focus {
    outline: none;
    border-color: rgba(185,154,114,.72);
    box-shadow: 0 0 0 3px rgba(185,154,114,.10);
}

.kindred-prompt-choice__limit {
    margin-top: 6px;
    color: var(--kindred-muted);
    font-size: 10px;
    text-align: right;
}

.kindred-prompt-choice:focus-within {
    border-color: rgba(185,154,114,.72);
}

@media (prefers-reduced-motion: reduce) {
    .kindred-prompt-choice,
    .kindred-prompt-choice__answer,
    .kindred-prompt-choice__icon,
    .kindred-prompt-choice__icon::before,
    .kindred-prompt-choice__icon::after {
        transition: none;
    }
}

.kindred-form-errors {
    margin: 0 0 20px;
    padding: 14px 16px;
    border: 1px solid rgba(181,79,79,.46);
    border-radius: 12px;
    background: rgba(121,34,34,.14);
    color: #d9aaaa;
    line-height: 1.55;
}

.kindred-form-errors ul {
    margin: 8px 0 0 18px;
    padding: 0;
}
