/* Tresoröffnung 24 — legal.css (impressum + datenschutz) · cinematic dark+amber
   Relies on tokens from main.css (--ink, --paper, --amber, --disp, --body …) */

.page-legal{background:var(--paper)}

/* Hero band (dark) */
.leg-hero{background:var(--ink);color:#c8cdd6;padding:54px 0 46px;position:relative;overflow:hidden}
.leg-hero::after{content:"";position:absolute;right:-160px;top:-120px;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(255,138,30,.18),transparent 62%);pointer-events:none}
.leg-hero__container{width:min(1000px,100% - 48px);margin-inline:auto;position:relative;z-index:1}
.leg-hero__breadcrumb{display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--muted-d);margin-bottom:20px}
.leg-hero__breadcrumb a{color:var(--muted-d);transition:color .2s}
.leg-hero__breadcrumb a:hover{color:var(--amber)}
.leg-hero__breadcrumb-sep{opacity:.5}
.leg-hero__title{font-family:var(--disp);font-weight:800;color:#fff;font-size:clamp(30px,5vw,48px);letter-spacing:-.02em}
.leg-hero__subtitle{margin-top:12px;color:#b4bcc8;font-size:16px;max-width:640px}

/* Content */
.leg-main{background:var(--paper);padding:56px 0 80px}
.leg-main__container{width:min(1000px,100% - 48px);margin-inline:auto}
.leg-section{margin-bottom:40px}
.leg-section__title{font-family:var(--disp);font-weight:800;font-size:clamp(21px,2.4vw,28px);color:var(--ink);margin-bottom:18px;padding-bottom:12px;border-bottom:2px solid var(--amber-soft);position:relative}
.leg-section__title::after{content:"";position:absolute;left:0;bottom:-2px;width:56px;height:2px;background:var(--amber)}

.leg-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:24px 26px;margin-bottom:16px;box-shadow:var(--sh-sm)}
.leg-card__title{font-family:var(--disp);font-weight:700;font-size:17px;color:var(--ink);margin-bottom:12px}
.leg-card__body p{color:#454b56;margin-bottom:12px;line-height:1.7}
.leg-card__body p:last-child{margin-bottom:0}
.leg-card__body strong{color:var(--ink);font-weight:700}
.leg-card__body em{color:var(--muted);font-style:italic}

.leg-contact{display:flex;flex-direction:column;gap:12px}
.leg-contact__item{display:flex;flex-wrap:wrap;gap:6px 14px}
.leg-contact__label{font-family:var(--disp);font-weight:700;font-size:14px;color:var(--ink);min-width:120px}
.leg-contact__value{color:#454b56;line-height:1.6}
a.leg-contact__value{color:var(--amber-deep);font-weight:600}
a.leg-contact__value:hover{text-decoration:underline}

.leg-list{margin:10px 0 0;display:flex;flex-direction:column;gap:9px}
.leg-list li{position:relative;padding-left:22px;color:#454b56;line-height:1.6}
.leg-list li::before{content:"";position:absolute;left:0;top:9px;width:8px;height:8px;border-radius:2px;background:var(--amber)}
.leg-list li strong{color:var(--ink)}
.leg-list--check li{padding-left:26px}
.leg-list--check li::before{content:"";left:2px;top:5px;width:12px;height:7px;border-radius:0;background:transparent;border-left:2px solid var(--amber);border-bottom:2px solid var(--amber);transform:rotate(-45deg)}
.leg-list--numbered{counter-reset:leg}
.leg-list--numbered li{padding-left:30px}
.leg-list--numbered li::before{counter-increment:leg;content:counter(leg);width:auto;height:auto;top:2px;background:transparent;font-family:var(--disp);font-weight:800;font-size:13px;color:var(--amber)}

.leg-highlight{background:linear-gradient(160deg,#16181d,#0e0f13);border:1px solid var(--line-d);border-left:4px solid var(--amber);border-radius:16px;padding:24px 26px;margin-bottom:16px;color:#c8cdd6}
.leg-highlight p{line-height:1.7;color:#c8cdd6}
.leg-highlight strong{color:#fff}
.leg-highlight__title{font-family:var(--disp);font-weight:700;font-size:17px;color:#fff;margin-bottom:10px}
.leg-highlight--info{background:var(--amber-soft);border-color:var(--line);border-left-color:var(--amber);color:#5a3a1c}
.leg-highlight--info p{color:#5a3a1c}
.leg-highlight--info .leg-highlight__title{color:var(--amber-deep)}
.leg-highlight--info strong{color:var(--ink)}

.leg-note{margin-top:12px;font-size:13.5px;color:var(--muted);font-style:italic}
.leg-link{color:var(--amber-deep);font-weight:600;word-break:break-word}
.leg-link:hover{text-decoration:underline}
.leg-toc{margin:0}
.leg-toc li{position:relative;padding-left:0;margin-bottom:8px}
.leg-toc li::before{display:none}
.leg-footer-note{margin-top:22px;padding:18px 22px;background:var(--surface);border:1px dashed var(--line-2);border-radius:14px}
.leg-footer-note p{color:var(--muted);font-size:14px;margin-bottom:4px}
.leg-footer-note strong{color:var(--ink)}

@media (max-width:560px){
  .leg-card,.leg-highlight{padding:20px}
  .leg-contact__label{min-width:0}
}
