/* Aus sportlerinnen/index.php zentral ausgelagerte Gestaltung */
/* ÖSBV Sportler:innen Redesign V1 */

.ath-page{--ath-blue:#005691;--ath-dark:#003f6b;--ath-red:#e30613;--ath-text:#172033;--ath-muted:#5e6c7b;--ath-line:#d5e0e8;--ath-soft:#eef5f9;background:#f5f8fb;color:var(--ath-text)}.ath-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ath-hero{position:relative;width:100vw;left:50%;margin-left:-50vw;min-height:clamp(360px,46vw,510px);display:flex;align-items:center;overflow:hidden;background:linear-gradient(90deg,rgba(255,255,255,.97),rgba(255,255,255,.86) 36%,rgba(255,255,255,.18) 78%),url('/bilder/css/header_hero_1200.webp') center/cover;border-bottom:1px solid var(--ath-line)}
.ath-hero-inner{width:min(1180px,100%);margin:auto;padding:clamp(54px,7vw,88px) 20px}.ath-kicker{display:block;margin-bottom:10px;color:var(--ath-red);font-weight:900;text-transform:uppercase;letter-spacing:.12em}.ath-hero h1,.ath-section-title h2{font-family:var(--font-display,'Oswald',Arial,sans-serif);text-transform:uppercase}.ath-hero h1{max-width:100%;margin:0;color:var(--ath-blue);font-size:clamp(2.7rem,6vw,5.2rem);line-height:1;overflow-wrap:normal;word-break:normal;hyphens:none}.ath-divider{width:78px;height:5px;margin:20px 0;background:var(--ath-red);border-radius:10px}.ath-hero p{max-width:680px;margin:0;color:#344257;font-size:clamp(1rem,2vw,1.2rem);font-weight:700;line-height:1.65}.ath-wrap{width:min(1180px,calc(100% - 32px));margin:auto;padding:48px 0 84px}.ath-season{display:inline-flex;align-items:center;gap:8px;margin-bottom:30px;padding:9px 13px;border-radius:999px;background:#fff;border:1px solid var(--ath-line);color:var(--ath-blue);font-weight:900}.ath-group{margin-bottom:48px}.ath-section-title{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:18px;padding-bottom:12px;border-bottom:3px solid var(--ath-blue)}.ath-section-title h2{margin:0;color:var(--ath-dark);font-size:clamp(1.8rem,4vw,2.6rem)}.ath-section-title span{color:var(--ath-muted);font-weight:800}.ath-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.ath-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--ath-line);border-radius:22px;background:#fff;box-shadow:0 12px 32px rgba(15,23,42,.07)}.ath-photo{position:relative;aspect-ratio:4/5;overflow:hidden;background:linear-gradient(135deg,#d9e8f1,#f4f7f9)}.ath-photo img{width:100%;height:100%;display:block;object-fit:cover;transform-origin:center}.ath-initials{height:100%;display:grid;place-items:center;color:var(--ath-blue);font-family:var(--font-display,'Oswald',Arial,sans-serif);font-size:4rem;font-weight:900}.ath-card-body{display:flex;flex:1;flex-direction:column;padding:18px}.ath-card h3{margin:0;color:var(--ath-dark);font-family:var(--font-display,'Oswald',Arial,sans-serif);font-size:1.55rem;text-transform:uppercase}.ath-meta{margin:6px 0 0;color:var(--ath-muted);font-weight:700}.ath-card-facts{display:grid;gap:8px;margin:16px 0 0}.ath-card-fact{display:grid;grid-template-columns:96px minmax(0,1fr);gap:10px;padding-bottom:8px;border-bottom:1px solid var(--ath-line)}.ath-card-fact:last-child{padding-bottom:0;border-bottom:0}.ath-card-fact dt{color:var(--ath-muted);font-size:.86rem;font-weight:800}.ath-card-fact dd{min-width:0;margin:0;color:var(--ath-dark);font-weight:850}.ath-bio{margin:15px 0;color:#344257;line-height:1.6}.ath-highlight{display:flex;gap:10px;align-items:center;margin-top:auto;padding:12px;border-radius:13px;background:var(--ath-soft);color:var(--ath-dark)}.ath-medal{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:var(--ath-red);color:#fff;font-weight:950}.ath-profile-btn{width:100%;margin-top:14px;min-height:46px;border:0;border-radius:12px;background:var(--ath-blue);color:#fff;font:inherit;font-weight:900;cursor:pointer}.ath-empty{padding:28px;border:1px dashed #9eb3c2;border-radius:18px;background:#fff;text-align:center}.ath-empty h2{margin:0 0 7px;color:var(--ath-blue)}.ath-empty p{margin:0;color:var(--ath-muted)}.ath-dialog{width:min(720px,calc(100% - 24px));max-height:min(88vh,900px);padding:0;border:0;border-radius:22px;color:var(--ath-text);box-shadow:0 28px 80px rgba(0,0,0,.3)}.ath-dialog::backdrop{background:rgba(5,20,32,.72)}.ath-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:19px 20px;background:var(--ath-dark);color:#fff}.ath-dialog-head h2{margin:0;font-family:var(--font-display,'Oswald',Arial,sans-serif);text-transform:uppercase}.ath-close{display:grid;place-items:center;width:42px;height:42px;border:1px solid rgba(255,255,255,.35);border-radius:11px;background:transparent;color:#fff;font-size:1.6rem;cursor:pointer}.ath-dialog-content{padding:20px}.ath-dialog-bio{font-size:1.05rem;line-height:1.7}.ath-success-years{display:grid;gap:10px;margin-top:18px}.ath-success-year{overflow:hidden;border:1px solid var(--ath-line);border-radius:15px;background:#fff}.ath-success-year[open]{box-shadow:0 8px 22px rgba(15,23,42,.06)}.ath-success-year-title{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;color:var(--ath-dark);font-family:var(--font-display,'Oswald',Arial,sans-serif);font-size:1.35rem;font-weight:900;cursor:pointer;list-style:none;background:var(--ath-soft)}.ath-success-year-title::-webkit-details-marker{display:none}.ath-success-year-title::after{content:"+";display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:#fff;color:var(--ath-blue);font-family:Arial,sans-serif;font-size:1.25rem}.ath-success-year[open]>.ath-success-year-title::after{content:"−"}.ath-success-year-content{padding:4px 14px 14px}.ath-success-category{margin-top:16px}.ath-success-category:first-child{margin-top:0}.ath-success-category h5{margin:0 0 9px;color:var(--ath-blue);font-size:.92rem;letter-spacing:.06em;text-transform:uppercase}.ath-success-list{display:grid;gap:9px;margin:0;padding:0;list-style:none}.ath-success{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;border:1px solid var(--ath-line);border-radius:14px;background:#fff}.ath-success strong{display:block;color:var(--ath-dark)}.ath-success small{color:var(--ath-muted)}.ath-result{color:var(--ath-blue);font-weight:900}.ath-result:focus-visible,.ath-profile-btn:focus-visible,.ath-close:focus-visible{outline:3px solid #f6bd00;outline-offset:3px}
.ath-dialog-summary{min-width:0}.ath-profile-special{margin-top:16px;padding:15px 16px;border:1px solid #c9dce8;border-radius:16px;background:linear-gradient(135deg,#f5f9fc,#eaf3f8)}.ath-profile-special h3{margin:0 0 11px;color:var(--ath-dark);font-family:var(--font-display,'Oswald',Arial,sans-serif);font-size:1.05rem;letter-spacing:.035em;text-transform:uppercase}.ath-profile-special-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}.ath-profile-special-item{display:grid;grid-template-columns:32px minmax(0,1fr);gap:9px;align-items:center;min-height:34px;color:var(--ath-dark);font-size:.93rem;font-weight:850;line-height:1.3}.ath-special-medal{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--ath-red);color:#fff;font-family:var(--font-display,'Oswald',Arial,sans-serif);font-weight:950}.ath-priority-1 .ath-special-medal{box-shadow:0 0 0 3px rgba(227,6,19,.12)}.ath-profile-more{margin-top:10px;padding-top:9px;border-top:1px solid #c9dce8}.ath-profile-more summary{display:inline-flex;align-items:center;gap:6px;color:var(--ath-blue);font-size:.9rem;font-weight:900;cursor:pointer}.ath-profile-more .ath-profile-special-list{margin-top:10px}
@media(max-width:900px){.ath-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ath-hero{min-height:430px;background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(255,255,255,.76)),url('/bilder/css/header_hero_960.webp') center/cover}.ath-wrap{width:min(100% - 24px,1180px);padding-top:32px}.ath-grid{grid-template-columns:1fr}.ath-section-title{align-items:start;flex-direction:column;gap:3px}.ath-card{border-radius:18px}.ath-success{grid-template-columns:40px minmax(0,1fr)}.ath-result{grid-column:2;justify-self:start}.ath-dialog-content{padding:16px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.ath-photo img{transition:none!important}}

/* Öffentliche Fahrerprofile – ruhiger, klarer und mobil optimiert */
.ath-hero{min-height:clamp(330px,42vw,450px)}
.ath-wrap{padding-top:42px}
.ath-group{margin-bottom:58px}
.ath-card{border-top:4px solid var(--ath-blue);transition:transform .2s ease,box-shadow .2s ease}
.ath-photo::after{content:"";position:absolute;inset:auto 0 0;height:26%;background:linear-gradient(transparent,rgba(0,63,107,.12));pointer-events:none}
.ath-card-body{padding:20px}
.ath-meta{line-height:1.5}
.ath-highlight{margin-top:18px}
.ath-medal{font-family:var(--font-display,'Oswald',Arial,sans-serif);font-size:1rem}
.ath-profile-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:2px solid var(--ath-blue);transition:background-color .18s ease,border-color .18s ease,transform .18s ease}
.ath-profile-btn::after{content:"›";font-size:1.35rem;line-height:1}
.ath-profile-btn:hover{background:var(--ath-dark);border-color:var(--ath-dark);transform:translateY(-1px)}
.ath-dialog{overflow:hidden}
.ath-dialog-content{max-height:calc(88vh - 80px);overflow-y:auto;overscroll-behavior:contain}
.ath-dialog-profile{display:grid;grid-template-columns:150px minmax(0,1fr);gap:22px;align-items:start;margin-bottom:24px}
.ath-dialog-photo{position:relative;aspect-ratio:4/5;overflow:hidden;border:1px solid var(--ath-line);border-radius:16px;background:linear-gradient(135deg,#d9e8f1,#f4f7f9)}
.ath-dialog-photo img{width:100%;height:100%;display:block;object-fit:cover;transform-origin:center}
.ath-dialog-photo .ath-initials{font-size:2.5rem}
.ath-dialog-profile .ath-meta{margin:2px 0 12px}
.ath-dialog-profile .ath-dialog-bio{margin:0}
.ath-dialog-content>h3{margin:0 0 12px;color:var(--ath-dark);font-family:var(--font-display,'Oswald',Arial,sans-serif);font-size:1.45rem;text-transform:uppercase}
.ath-success small{display:block;margin-top:3px;line-height:1.45}
.ath-result{text-underline-offset:3px}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.ath-card:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(15,23,42,.11)}}
@media(max-width:600px){
  .ath-hero{min-height:340px}
  .ath-hero h1{font-size:clamp(2rem,8.2vw,2.7rem)}
  .ath-wrap{padding-top:28px}
  .ath-season{margin-bottom:25px}
  .ath-group{margin-bottom:42px}
  .ath-card-body{padding:18px}
  .ath-dialog{width:calc(100% - 16px);max-height:92vh;border-radius:18px}
  .ath-dialog-head{padding:14px 15px}
  .ath-dialog-head h2{font-size:1.35rem}
  .ath-dialog-content{max-height:calc(92vh - 70px)}
  .ath-dialog-profile{grid-template-columns:96px minmax(0,1fr);gap:14px}
  .ath-profile-special{padding:12px}
  .ath-profile-special-item{font-size:.88rem}
  .ath-dialog-photo{border-radius:12px}
  .ath-success{padding:11px}
}
@media(max-width:430px){.ath-dialog-profile{grid-template-columns:1fr}.ath-dialog-photo{width:112px}.ath-profile-special{margin-top:14px}}
@media print{.ath-hero{min-height:0;background:none}.ath-profile-btn,.ath-dialog{display:none!important}.ath-card{break-inside:avoid;box-shadow:none}.ath-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* ===== Sportler:innen V1 - Verbandsdesign Anpassung ===== */
.ath-profile-btn{
    width:46px;
    min-height:46px;
    margin-left:auto;
    border-radius:50%;
    padding:0;
    font-size:1.25rem;
    display:flex;
    align-items:center;
    justify-content:center;
}

.ath-profile-btn::after{
    display:none;
}

.ath-card-body{
    position:relative;
}

.ath-card-facts{
    margin-bottom:10px;
}

.ath-card h3{
    padding-right:55px;
}

.ath-dialog-head{
    background:linear-gradient(135deg,var(--ath-blue),var(--ath-dark));
}

.ath-profile-special,
.ath-success-year-title{
    border-radius:16px;
}

@media(max-width:600px){
    .ath-profile-btn{
        width:44px;
        height:44px;
    }
}

.ath-personal-block h3 { margin-bottom: 8px; color: var(--ath-blue, #005691); }
.ath-personal-facts { display: grid; gap: 10px; margin: 16px 0 0; }
.ath-personal-facts div { padding: 11px 13px; border: 1px solid #dbe5ec; border-radius: 11px; background: #f5f9fb; }
.ath-personal-facts dt { color: var(--ath-blue, #005691); font-size: .78rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.ath-personal-facts dd { margin: 4px 0 0; line-height: 1.55; }
