/* Contract requests and the two imported contractual texts. */
.tk-legal-breadcrumb {
    border-bottom: 1px solid #ebe7df;
    background: #f8f6f1;
    color: #66736b;
    font-family: Muli, Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: .9rem;
}
.tk-legal-breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
}
.tk-legal-breadcrumb a { color: #243c35; text-decoration: none; }
.tk-legal-breadcrumb a:hover { color: #a45d47; text-decoration: underline; }

.tk-legal-page { background: #fff; }
.tk-legal-page .tk-legal-content {
    width: min(1160px, calc(100% - 40px));
    max-width: 1160px;
    margin-inline: auto;
    padding: 38px 0 88px;
    color: #454d49;
    font-family: Muli, Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.68;
}
.tk-legal-page .tk-legal-content :is(h1, h2, h3, h4) {
    color: #243c35;
    font-family: Muli, Inter, ui-sans-serif, system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: normal;
    line-height: 1.2;
}
.tk-legal-page .tk-legal-content h1 {
    margin: 0 0 24px;
    font-size: clamp(2rem, 3.4vw, 42px);
}
.tk-legal-page .tk-legal-content h1:not(:first-child) { margin-top: 44px; }
.tk-legal-page .tk-legal-content h2 {
    margin: 38px 0 17px;
    font-size: clamp(1.6rem, 2.9vw, 35px);
}
.tk-legal-page .tk-legal-content h3 { margin: 28px 0 12px; font-size: 1.4rem; }
.tk-legal-page .tk-legal-content p { margin: 0 0 15px; }
.tk-legal-page .tk-legal-content :is(ul, ol) { margin: 0 0 18px; padding-left: 26px; }
.tk-legal-page .tk-legal-content li { margin-bottom: 8px; }
.tk-legal-page .tk-legal-content a, .tk-contract-page a { color: #243c35; text-decoration: underline; text-underline-offset: 3px; }
.tk-legal-page .tk-legal-content a:hover, .tk-contract-page a:hover { color: #a45d47; }

.tk-contract-page {
    padding: 60px 20px 100px;
    background: #f8f6f1;
    color: #24302c;
    font-family: Muli, Inter, ui-sans-serif, system-ui, sans-serif;
}
.tk-contract-intro { max-width: 780px; margin: 0 auto 32px; text-align: center; }
.tk-contract-intro .tk-contract-kicker {
    margin: 0 0 10px;
    color: #b96f57;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
}
.tk-contract-intro h1 {
    margin: 0 0 16px;
    color: #243c35;
    font-family: Muli, Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: clamp(2.3rem, 4vw, 48px);
    font-weight: 750;
    line-height: 1.12;
}
.tk-contract-intro > p:last-child { max-width: 700px; margin: auto; color: #5b6861; line-height: 1.65; }
.tk-contract-form {
    position: relative;
    width: min(780px, 100%);
    margin: auto;
    padding: 32px;
    border: 1px solid #e7e1d8;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 50px rgba(36, 60, 53, .08);
}
.tk-contract-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tk-contract-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
.tk-contract-full { grid-column: 1 / -1; }
.tk-contract-field { min-width: 0; }
.tk-contract-field > label, .tk-contract-kind > legend {
    display: block;
    margin: 0 0 8px;
    color: #243c35;
    font-size: .92rem;
    font-weight: 700;
}
.tk-contract-field :is(input:not([type="radio"]), textarea) {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #c5cec5;
    border-radius: 9px;
    background: #fff;
    color: #24302c;
    font: inherit;
    color-scheme: light;
}
.tk-contract-field textarea { min-height: 130px; resize: vertical; }
.tk-contract-kind { margin: 0; padding: 0; border: 0; }
.tk-contract-kind > label { display: flex; align-items: flex-start; gap: 9px; margin-top: 10px; font-weight: 500; }
.tk-contract-kind input, .tk-contract-privacy input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #243c35;
}
.tk-contract-privacy { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0; font-size: .92rem; line-height: 1.55; }
.tk-contract-submit {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 10px 20px;
    border: 0;
    border-radius: 10px;
    background: #243c35;
    color: #fff;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}
.tk-contract-submit:hover { background: #34564b; }
.tk-contract-field :is(input, textarea):focus-visible,
.tk-contract-kind input:focus-visible, .tk-contract-privacy input:focus-visible,
.tk-contract-submit:focus-visible, .tk-legal-breadcrumb a:focus-visible {
    outline: 3px solid #b96f57;
    outline-offset: 2px;
}
.tk-contract-field [aria-invalid="true"] { border-color: #a33232 !important; }
.tk-contract-alert { width: min(780px, 100%); margin: 0 auto 20px; padding: 15px 18px; border-radius: 10px; }
.tk-contract-success { border: 1px solid #a1baa8; background: #edf5ee; color: #243c35; }
.tk-contract-errors { border: 1px solid #dda5a0; background: #fff2f0; color: #762c2b; }
.tk-contract-errors ul { margin: 8px 0 0; padding-left: 22px; }

@media (max-width: 650px) {
    .tk-legal-page .tk-legal-content { width: calc(100% - 32px); padding: 30px 0 64px; }
    .tk-contract-page { padding: 42px 16px 72px; }
    .tk-contract-intro { text-align: left; }
    .tk-contract-form { padding: 24px 18px; border-radius: 16px; }
    .tk-contract-grid { grid-template-columns: minmax(0, 1fr); }
    .tk-contract-full { grid-column: auto; }
}

/* TRAUKLAR CONTRACT LAYOUT V3 START */
/* AGB und Widerrufsbelehrung: Leselayout wie auf der Datenschutzerklärung. */
.tk-legal-page {
    background: transparent;
}

.tk-legal-page .tk-legal-content {
    width: min(52rem, calc(100% - 2.5rem));
    max-width: none;
    margin-inline: auto;
    padding: 2.75rem 0 5rem;
    color: #293d35;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.0625rem;
    line-height: 1.75;
}

.tk-legal-page .tk-legal-content :is(h1, h2, h3, h4) {
    color: #24463c;
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
}

.tk-legal-page .tk-legal-content > h1:first-child {
    margin: 0 0 1.25rem;
    font-size: clamp(2.35rem, 4.6vw, 3.6rem);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -.035em;
}

.tk-legal-page .tk-legal-content > h1:not(:first-child),
.tk-legal-page .tk-legal-content > h2 {
    margin: 2.5rem 0 .85rem;
    font-size: clamp(1.5rem, 2.3vw, 1.85rem);
    font-weight: 600;
    line-height: 1.28;
}

.tk-legal-page .tk-legal-content > h2:first-of-type {
    margin-top: 0;
}

.tk-legal-page .tk-legal-content > h3 {
    margin: 2rem 0 .75rem;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.35;
}

.tk-legal-page .tk-legal-content > p {
    margin: 0 0 1.2rem;
}

.tk-legal-page .tk-legal-content > h1:first-child + p {
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(36, 70, 60, .16);
    color: #52645c;
    font-size: .95rem;
}

.tk-legal-page .tk-legal-content > p:empty {
    display: none;
}

.tk-legal-page .tk-legal-content > ul,
.tk-legal-page .tk-legal-content > ol {
    margin: 0 0 1.5rem;
    padding-left: 1.5rem;
}

.tk-legal-page .tk-legal-content li {
    margin-bottom: .35rem;
    padding-left: .15rem;
}

.tk-legal-page .tk-legal-content li p {
    margin: 0;
}

.tk-legal-page .tk-legal-content hr {
    height: 0;
    margin: 2.5rem 0;
    border: 0;
    border-top: 1px solid rgba(36, 70, 60, .16);
}

.tk-legal-page .tk-legal-content a,
.tk-legal-page .tk-legal-content code {
    overflow-wrap: anywhere;
}

.tk-legal-page .tk-legal-content > :last-child {
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .tk-legal-page .tk-legal-content {
        width: calc(100% - 2rem);
        padding: 2rem 0 3.5rem;
        font-size: 1rem;
        line-height: 1.7;
    }

    .tk-legal-page .tk-legal-content > h1:first-child {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }

    .tk-legal-page .tk-legal-content > h1:not(:first-child),
    .tk-legal-page .tk-legal-content > h2 {
        font-size: 1.5rem;
    }
}
/* TRAUKLAR CONTRACT LAYOUT V3 END */
