/* KANADA1.COM – Anmeldung, Registrierung und Passwort-Wiederherstellung */
:is(.frame-type-felogin_login, .tx-srfeuserregister-pi1) {
    font-family: var(--bs-body-font-family, sans-serif);
    font-size: 1rem;
    line-height: 1.5;
}
:is(.frame-type-felogin_login, .tx-srfeuserregister-pi1)
:is(input[type="text"], input[type="email"], input[type="password"], textarea) {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 10px 14px;
    font: inherit;
    color: var(--bs-body-color, #252b27);
    background: #f8f8f8;
    border: 1px solid #d8ddd9;
    border-radius: 0;
    box-shadow: none;
    appearance: none;
}
:is(.frame-type-felogin_login, .tx-srfeuserregister-pi1)
:is(input[type="text"], input[type="email"], input[type="password"], textarea):focus {
    border-color: #577760;
    outline: 2px solid #577760;
    outline-offset: 2px;
    box-shadow: none;
}
:is(.frame-type-felogin_login, .tx-srfeuserregister-pi1) label {
    display: inline-block;
    margin: 0 0 8px;
    padding: 0;
    font: inherit;
    font-weight: 500;
}
.tx-srfeuserregister-pi1 dl {
    display: block;
    margin: 24px 0 0;
    padding: 0;
}
.tx-srfeuserregister-pi1 dl > dt,
.tx-srfeuserregister-pi1 dl > dd {
    float: none;
    clear: both;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
}
.tx-srfeuserregister-pi1 dl > dd { margin-bottom: 20px; }
:is(.frame-type-felogin_login, .tx-srfeuserregister-pi1)
:is(input[type="submit"], button[type="submit"]) {
    display: inline-block;
    box-sizing: border-box;
    width: auto;
    margin: 8px 0;
    padding: 11px 24px;
    font: inherit;
    font-weight: 600;
    color: #fff;
    background: #b5121b;
    border: 1px solid #b5121b;
    border-radius: 0;
    cursor: pointer;
}
:is(.frame-type-felogin_login, .tx-srfeuserregister-pi1)
:is(input[type="submit"], button[type="submit"]):hover {
    background: #8f1017;
    border-color: #8f1017;
}
:is(.frame-type-felogin_login, .tx-srfeuserregister-pi1)
:is(input[type="submit"], button[type="submit"]):focus-visible {
    outline: 2px solid #244333;
    outline-offset: 3px;
}
/* Anmeldung: bestehende Begrüßung erhalten */
body#p35 .subcontent-wrap .frame-type-text .frame-inner {
    padding: 28px;
    background: #edf3ee;
    border-top: 4px solid #244333;
}
body#p35 .subcontent-wrap .frame-type-text .element-header {
    color: #244333;
    font-size: clamp(25px, 2.3vw, 34px);
    font-weight: 650;
    line-height: 1.2;
}
body#p35 .subcontent-wrap .frame-type-text p { color: #536158; line-height: 1.65; }
body#p35 .subcontent-wrap .frame-type-text a[href] {
    display: inline-block;
    padding: 10px 18px;
    background: #b5121b;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}
body#p35 .subcontent-wrap .frame-type-text a[href]:hover { background: #8f1017; }
body:is(#p35, #p175) .frame-type-felogin_login h3 {
    color: #244333;
    font-size: clamp(27px, 2.5vw, 36px);
    font-weight: 600;
}
body:is(#p35, #p175) .frame-type-felogin_login legend {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
body:is(#p35, #p175) .frame-type-felogin_login fieldset > div { margin-bottom: 20px; }
body#p35 #c191 a {
    color: #536158;
    font-size: .9rem;
    text-underline-offset: 3px;
}
/* Registrierung: kompakte Infobox, ohne künstliche Streckung */
body#p174 .subcontent-wrap .frame-type-text .frame-inner {
    padding: 28px;
    background: #edf3ee;
    border-top: 4px solid #244333;
}
body#p174 .subcontent-wrap .element-header {
    margin-bottom: 20px;
    color: #244333;
    font-size: clamp(25px, 2vw, 30px);
    font-weight: 650;
    line-height: 1.2;
}
body#p174 .subcontent-wrap p,
body#p174 .subcontent-wrap ol {
    margin-bottom: 20px;
    color: #536158;
    line-height: 1.6;
}
body#p174 .subcontent-wrap ol { padding-left: 1.3em; }
body#p174 .subcontent-wrap li { margin-bottom: 8px; padding-left: 3px; }
body#p174 .subcontent-wrap .frame-inner > :last-child { margin-bottom: 0; }
body#p174 .subcontent-wrap .frame-type-text a {
    padding: 0;
    color: #244333;
    background: none;
    border: 0;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}
body#p174 .subcontent-wrap .frame-type-text a:hover { color: #b5121b; }
/* Formularbreite und Typografie */
body#p174 .tx-srfeuserregister-pi1 {
    width: 100%;
    max-width: 760px;
    margin-right: auto;
}
body#p174 .tx-srfeuserregister-pi1 fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}
body#p174 .tx-srfeuserregister-pi1 legend {
    float: none;
    width: 100%;
    margin: 0 0 12px;
    padding: 0;
    color: #244333;
    font-family: inherit;
    font-size: clamp(27px, 2.5vw, 36px);
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
}
body#p174 .tx-srfeuserregister-pi1 .tx-srfeuserregister-pi1-notice {
    margin: 0 0 26px;
    padding: 0;
    color: #536158;
    font-size: .9rem;
    font-style: normal;
    text-align: left;
}
/* Gleicher Startpunkt für die Inhalte beider Spalten */
@media (min-width: 992px) {
    body#p174 .section-row { align-items: flex-start; }
    body#p174 .section-column > .frame { margin-top: 0; }
    body#p174 .section-column > .frame > .frame-group-container > .frame-group-inner > .frame-container {
        padding-top: 0;
    }
}
@media (max-width: 991.98px) {
    body#p174 .subcontent-wrap .frame-type-text .frame-inner { padding: 22px; }
    body#p174 .tx-srfeuserregister-pi1 { max-width: 100%; }
}

/* Registrierung: alte Erweiterungsstile gezielt überschreiben */
body#p174 .tx-srfeuserregister-pi1 form dl {
    display: block;
    margin: 24px 0 0;
    padding: 0;
}
body#p174 .tx-srfeuserregister-pi1 form dl > dt,
body#p174 .tx-srfeuserregister-pi1 form dl > dd {
    float: none;
    clear: both;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
}
body#p174 .tx-srfeuserregister-pi1 form dl > dd {
    margin-bottom: 20px;
}
body#p174 .tx-srfeuserregister-pi1 form label {
    display: inline-block;
    margin: 0 0 8px;
    padding: 0;
    font: inherit;
    font-weight: 500;
    text-align: left;
}
body#p174 .tx-srfeuserregister-pi1 form input:is([type="text"], [type="email"], [type="password"]) {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 48px;
    margin: 0;
    padding: 10px 14px;
    font: inherit;
    color: #252b27;
    background: #f8f8f8;
    border: 1px solid #d8ddd9;
    border-radius: 0;
    box-shadow: none;
}
body#p174 .tx-srfeuserregister-pi1 form input:focus-visible {
    outline: 2px solid #577760;
    outline-offset: 2px;
}
body#p174 .tx-srfeuserregister-pi1 form :is(input[type="submit"], button[type="submit"]) {
    display: inline-block;
    width: auto;
    margin: 8px 0;
    padding: 11px 24px;
    font: inherit;
    font-weight: 600;
    color: #fff;
    background: #b5121b;
    border: 1px solid #b5121b;
    border-radius: 0;
    cursor: pointer;
}
body#p174 .tx-srfeuserregister-pi1 form :is(input[type="submit"], button[type="submit"]):hover {
    background: #8f1017;
    border-color: #8f1017;
}
body#p174 .kanada-member-stat {
    margin-top: 24px;
    padding: 24px 28px;
    border-top: 1px solid #d8ddd9;
}

body#p174 .kanada-member-stat h3 {
    margin: 0 0 12px;
    color: #244333;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .08em;
}

body#p174 .kanada-member-stat .kanada-member-stat-number {
    margin: 0 0 12px;
    color: #244333;
}

body#p174 .kanada-member-stat-number strong {
    margin-right: 8px;
    font-size: 2.75rem;
    font-weight: 650;
    line-height: 1.1;
}

body#p174 .kanada-member-stat p:last-child {
    margin: 0;
    color: #536158;
    font-size: .95rem;
    line-height: 1.6;
}
/* Registrierung: linke Box oben bündig */
body#p174 #c196,
body#p174 #c196 > .frame-group-container,
body#p174 #c196 > .frame-group-container > .frame-group-inner,
body#p174 #c196 .frame-container {
    margin-top: 0;
    padding-top: 0;
}
@media (min-width: 992px) {
    body#p174 .kanada-member-stat {
        margin-top: 4px;
        padding-top: 24px;
    }
}
/* Meine Daten: linke Infobox */
body#p176 .subcontent-wrap .frame-type-text .frame-inner {
    padding: 28px;
    background: #edf3ee;
    border-top: 4px solid #244333;
}

body#p176 .subcontent-wrap .element-header {
    margin-bottom: 20px;
    color: #244333;
    font-family: inherit;
    font-size: clamp(25px, 2vw, 30px);
    font-weight: 650;
    line-height: 1.2;
}

body#p176 .subcontent-wrap p {
    color: #536158;
    line-height: 1.65;
}

body#p176 .subcontent-wrap a {
    color: #244333;
    font-weight: 600;
    text-underline-offset: 4px;
}

body#p176 .subcontent-wrap a:hover {
    color: #b5121b;
}

/* Linke Box und Formular oben bündig */
body#p176 .subcontent-wrap .frame,
body#p176 .subcontent-wrap .frame-group-container,
body#p176 .subcontent-wrap .frame-group-inner,
body#p176 .subcontent-wrap .frame-container {
    margin-top: 0;
    padding-top: 0;
}
/* Kontoübersicht: drei Funktionskacheln */
body#p35 .maincontent-wrap .icongroup {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
}

body#p35 .maincontent-wrap .icongroup-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 24px;
    background: #f5f8f5;
    border: 1px solid #d8e2da;
    border-top: 3px solid #577760;
    text-align: left;
}

body#p35 .maincontent-wrap .icongroup-item-icon {
    position: static;
    flex: none;
    width: auto;
    margin: 0 0 18px;
    padding: 0;
    color: #244333;
    font-size: 32px;
}

body#p35 .maincontent-wrap .icongroup-item-icon svg {
    width: 32px;
    height: 32px;
}

body#p35 .maincontent-wrap .icongroup-item-text {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

body#p35 .maincontent-wrap .icongroup-item-text-header {
    margin: 0 0 12px;
    font-family: inherit;
    font-size: 21px;
    font-weight: 650;
    line-height: 1.3;
}

body#p35 .maincontent-wrap .icongroup-item-text-header a {
    color: #244333;
    text-decoration: none;
}

body#p35 .maincontent-wrap .icongroup-item-text-header a:hover {
    color: #b5121b;
    text-decoration: underline;
}

body#p35 .maincontent-wrap .icongroup-item-text p {
    margin: 0;
    color: #536158;
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 1199.98px) {
    body#p35 .maincontent-wrap .icongroup {
        grid-template-columns: 1fr;
    }
}
/* Konto: Bearbeiten-Link in beiden Sprachen */
body#p35 .frame-type-felogin_login a.kanada-recovery-back {
    display: inline-flex;
    align-items: center;
    padding: 11px 24px;
    border: 1px solid #244333;
    background: #244333;
    color: #fff;
    font: inherit;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

body#p35 .frame-type-felogin_login a.kanada-recovery-back:hover {
    background: #193025;
}
/* Bestätigungsseite: gleiche Darstellung in Deutsch und Englisch */
body#p175 .subcontent-wrap .frame-type-text .frame-inner {
    padding: 28px;
    background: #edf3ee;
    border-top: 4px solid #244333;
}
body#p175 .subcontent-wrap .frame-type-text .element-header {
    margin-bottom: 20px;
    color: #244333;
    font-family: inherit;
    font-size: clamp(25px, 2vw, 30px);
    font-weight: 650;
    line-height: 1.2;
}
body#p175 .subcontent-wrap .frame-type-text .element-subheader {
    color: #536158;
    font-family: inherit;
    font-size: 1.1rem;
    line-height: 1.5;
}
body#p175 .subcontent-wrap .frame-type-text p {
    color: #536158;
    line-height: 1.65;
}
body#p175 .subcontent-wrap .frame,
body#p175 .subcontent-wrap .frame-group-container,
body#p175 .subcontent-wrap .frame-group-inner,
body#p175 .subcontent-wrap .frame-container {
    margin-top: 0;
    padding-top: 0;
}
body#p175 .frame-type-felogin_login fieldset {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
}
body#p175 .frame-type-felogin_login .kanada-recovery-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}
@media (max-width: 991.98px) {
    body#p175 .subcontent-wrap .frame-type-text .frame-inner { padding: 22px; }
}
