.methods-view { --mt-petrol:#0f5c6b; --mt-dark:#0b4652; --mt-muted:#56646a; max-width:1600px; margin:auto; padding:40px clamp(20px,4vw,58px) 50px; container-type:inline-size; }
.methods-view h1 { font-size:clamp(32px,3.6vw,48px); letter-spacing:-.035em; line-height:1.12; }
.methods-view .view-intro { margin-top:12px; font-size:16px; line-height:1.6; }
.methods-view button, .methods-view select, .methods-view input, .mt-dialog button { font:inherit; }
.methods-view :is(button,input,select):focus-visible, .mt-dialog :is(button,textarea):focus-visible, .mt-table-wrap:focus-visible { outline:2px solid #0f5c6b; outline-offset:3px; }
.mt-phase-section { display:grid; grid-template-columns:minmax(0,1fr) minmax(260px,400px); gap:40px; align-items:center; margin:28px 0 38px; padding:26px 30px; border:1px solid var(--line); background:#fff; }
.mt-phase-copy h2 { max-width:440px; font-size:clamp(25px,2.4vw,32px); line-height:1.2; letter-spacing:-.025em; }
.mt-phase-copy > p { max-width:55ch; color:var(--mt-muted); margin-top:16px; line-height:1.7; font-size:14px; }
.mt-phase-copy .mt-small { font-size:12px; margin-top:27px; }
.mt-text-button { padding:0; margin-top:22px; border:0; background:transparent; color:var(--mt-petrol); display:flex; align-items:center; gap:14px; font-weight:600!important; text-align:left; }
.mt-text-button:hover { text-decoration:underline; text-underline-offset:4px; }
.mt-din-map { position:relative; width:100%; max-width:400px; aspect-ratio:1; margin:auto; }
.mt-din-map img { display:block; width:100%; height:auto; border-radius:50%; }
.mt-hotspot { position:absolute; width:29%; aspect-ratio:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; padding:5px; border:1px solid #64858c; border-radius:50%; background:#fffffff2; color:var(--mt-dark); transition:background .15s,color .15s; }
.mt-hotspot strong { font-size:clamp(10px,1vw,13px); }
.mt-hotspot small { font-size:10px; }
.mt-hotspot:hover, .mt-hotspot[aria-pressed="true"] { background:var(--mt-petrol); color:#fff; }
.mt-hotspot[data-phase="Analyse"] { left:35.5%; top:22%; }
.mt-hotspot[data-phase="Implementierung"] { left:18%; top:49%; }
.mt-hotspot[data-phase="Gestaltung"] { right:18%; top:49%; }
.mt-catalogue-heading { display:flex; justify-content:space-between; align-items:baseline; gap:16px; margin-bottom:24px; }
.mt-catalogue-heading h2 { font-size:25px; letter-spacing:-.025em; }
#mt-count { color:var(--mt-muted); font-size:13px; white-space:nowrap; }
.mt-filters { display:flex; flex-wrap:wrap; gap:14px; align-items:end; }
.mt-filters label { display:grid; gap:8px; flex:1 1 140px; min-width:0; font-size:12px; color:#45535a; }
.mt-filters .mt-search { flex:2 1 240px; }
.mt-filters :is(input,select) { width:100%; min-height:44px; padding:10px 12px; border:1px solid #a6b0b3; border-radius:3px; color:var(--ink); background:#fff; font-size:14px; }
.mt-filters input::placeholder, .mt-dialog textarea::placeholder { color:#647177; }
.mt-table-hint { margin:18px 0 12px; color:var(--mt-muted); font-size:12px; line-height:1.6; }
.mt-table-wrap { position:relative; max-width:100%; overflow:auto; border:1px solid #bfc9cc; scrollbar-color:#728a90 #edf1f2; }
.mt-table { width:100%; min-width:900px; border-collapse:collapse; font-size:13px; background:white; }
.mt-table th { color:#fff; background:var(--mt-petrol); text-align:left; font-weight:600; border-right:1px solid #ffffff30; }
.mt-table th button { display:flex; width:100%; min-height:49px; align-items:center; justify-content:space-between; gap:14px; padding:13px 14px; border:0; background:transparent; color:inherit; text-align:left; font-size:12px; }
.mt-table th button:hover { background:var(--mt-dark); }
.mt-table th button:focus-visible { outline-color:white; outline-offset:-4px; }
.mt-table td { padding:18px 14px; vertical-align:top; border-bottom:1px solid #dae0e2; line-height:1.6; }
.mt-table tbody tr:last-child td { border-bottom:0; }
.mt-table tbody tr:hover { background:#f0f6f6; }
.mt-table td:nth-child(2) { min-width:290px; width:42%; }
.mt-table td > p { max-width:65ch; color:#526066; font-size:12px; margin-top:6px; }
.mt-name { border:0; padding:0; background:none; color:var(--mt-dark); font-weight:650!important; text-align:left; }
.mt-name:hover { text-decoration:underline; text-underline-offset:3px; }
.mt-tag { display:block; font-size:12px; margin:2px 0 6px; color:#344f57; }
.mt-number, .mt-rating { font-variant-numeric:tabular-nums; color:#526066; }
.mt-rating { white-space:nowrap; }
.mt-open { display:flex; align-items:center; gap:8px; padding:8px 11px; border:1px solid #a7bdc2; border-radius:3px; background:white; color:var(--mt-petrol); font-size:12px!important; }
.mt-open:hover { background:#e4edef; }
.mt-open .icon { width:15px; }
.mt-list, .mt-filters .mt-list-sort { display:none; }
@container (max-width:900px) {
  .mt-table-wrap, .mt-desktop-hint { display:none; }
  .mt-filters { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
  .mt-filters .mt-search { grid-column:1 / -1; }
  .mt-filters .mt-list-sort { display:grid; grid-column:span 2; }
  .mt-filters > button { min-height:44px; }
  .mt-filters :is(input,select) { font-size:16px; }
  .mt-list { display:block; list-style:none; margin:0; padding:0; border-block:1px solid #bfc9cc; }
  .mt-list[hidden] { display:none; }
  .mt-list > li { padding:24px 0; border-bottom:1px solid #bfc9cc; }
  .mt-list > li:last-child { border-bottom:0; }
  .mt-list-title { display:flex; align-items:baseline; gap:12px; }
  .mt-list-title .mt-number { flex:none; font-size:12px; }
  .mt-list-title h3 { min-width:0; color:var(--mt-dark); font-size:20px; line-height:1.35; letter-spacing:-.02em; overflow-wrap:anywhere; }
  .mt-list-description { margin:12px 0 18px; font-size:14px; line-height:1.65; color:#526066; overflow-wrap:anywhere; }
  .mt-list-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 12px; margin-bottom:20px; }
  .mt-list-facts .mt-list-phase { grid-column:1 / -1; }
  .mt-list-facts dt { font-size:12px; color:#526066; line-height:1.5; margin-bottom:4px; }
  .mt-list-facts dd { margin:0; color:#344f57; font-size:14px; line-height:1.5; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
  .mt-list .mt-open { width:100%; min-height:44px; justify-content:space-between; font-size:14px!important; padding:11px 14px; }
}
@container (max-width:650px) {
  .mt-catalogue-heading { flex-direction:column; align-items:start; gap:8px; }
  .mt-filters { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .mt-filters label:has(#mt-automation), .mt-filters .mt-list-sort { grid-column:1 / -1; }
  .mt-filters > button { grid-column:1 / -1; justify-self:end; }
}
@container (max-width:460px) {
  .mt-filters { grid-template-columns:minmax(0,1fr); gap:14px; }
  .mt-filters > button { justify-self:stretch; }
}
.mt-source { margin-top:18px; font-size:11px; line-height:1.7; color:var(--mt-muted); overflow-wrap:anywhere; }
.mt-empty { text-align:center; padding:36px 16px; background:white; border:1px solid var(--line); }
.mt-empty p { margin:12px 0 20px; }
.mt-primary, .mt-secondary { display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:44px; padding:11px 16px; border-radius:3px; font-size:13px!important; line-height:1.4; }
.mt-primary { background:#0f5c6b; color:#fff; border:1px solid #0f5c6b; }
.mt-primary:hover { background:#0b4652; }
.mt-secondary { background:transparent; color:#0b4652; border:1px solid #9bafb4; }
.mt-secondary:hover { background:#e5edef; }
.mt-secondary:disabled { color:#68757a; border-color:#d0d7d9; background:#f5f6f6; }
body.mt-dialog-open { overflow:hidden; }
.mt-dialog { width:min(1060px,calc(100vw - 48px)); max-width:none; height:min(860px,calc(100svh - 48px)); max-height:none; padding:0; border:0; border-radius:8px; background:#faf8f3; color:#161817; box-shadow:0 24px 80px #102b3550; overflow:hidden; }
.mt-dialog[open] { display:flex; flex-direction:column; }
.mt-dialog::backdrop { background:#142c36a6; }
.mt-dialog-header { display:flex; justify-content:space-between; align-items:start; gap:24px; padding:27px 32px 23px; background:#0f5c6b; color:white; }
.mt-dialog-header p { font-size:12px; line-height:1.5; color:#d8e8eb; margin-bottom:9px; }
.mt-dialog-header h2 { font-size:clamp(24px,2.5vw,34px); line-height:1.2; letter-spacing:-.025em; overflow-wrap:anywhere; }
.mt-close { flex:none; width:42px; height:42px; border:1px solid #bad0d5; background:transparent; color:white; border-radius:50%; font-size:28px!important; }
.mt-close:hover { background:#ffffff20; }
.mt-dialog .mt-close:focus-visible { outline-color:white; }
.mt-mode { display:flex; flex-shrink:0; gap:20px; padding:0 32px; border-bottom:1px solid #d5dcdd; }
.mt-mode button { border:0; border-bottom:2px solid transparent; padding:15px 0 13px; background:transparent; color:#53646a; font-size:14px; }
.mt-mode button[aria-pressed="true"] { color:#0b4652; border-bottom-color:#0f5c6b; font-weight:650; }
.mt-dialog-body { flex:1; min-height:0; overflow:auto; scrollbar-color:#728a90 #edf1f2; }
.mt-profile { padding:28px 32px 36px; }
.mt-description { max-width:75ch; font-size:16px; line-height:1.7; color:#45535a; }
.mt-facts { display:flex; gap:36px; flex-wrap:wrap; margin:24px 0 30px; padding-block:20px; border-block:1px solid #d5dcdd; }
.mt-facts dt { font-size:12px; color:#53646a; margin-bottom:7px; }
.mt-facts dd { margin:0; font-size:14px; font-weight:600; }
.mt-profile h3 { font-size:22px; margin-bottom:12px; letter-spacing:-.02em; }
.mt-profile section > p { max-width:75ch; font-size:14px; color:#45535a; line-height:1.7; }
.mt-outline { font-size:14px; line-height:1.7; padding-left:20px; margin:18px 0 24px; }
.mt-outline li { padding-left:5px; margin-block:7px; }
.mt-sources { margin-top:32px; font-size:12px; line-height:1.7; color:#53646a; overflow-wrap:anywhere; }
.mt-sources summary { cursor:pointer; color:#0b4652; font-weight:600; }
.mt-sources p { margin-top:14px; }
.mt-guide { display:grid; grid-template-columns:260px minmax(0,1fr); min-height:100%; }
.mt-guide aside { padding:26px 20px; border-right:1px solid #d5dcdd; background:#f0eee7; }
#mt-progress { font-size:12px; color:#45535a; margin:0 10px 18px; }
#mt-step-nav { padding:0; margin:0; list-style:none; }
#mt-step-nav button { display:flex; align-items:start; gap:10px; width:100%; border:0; border-radius:4px; text-align:left; padding:13px 10px; color:#45535a; background:transparent; font-size:13px; line-height:1.45; }
#mt-step-nav button:hover { background:#e2e7e5; }
#mt-step-nav button[aria-current] { background:#0f5c6b; color:white; }
#mt-step-nav small { display:block; margin-top:5px; font-size:11px; }
.mt-step-number { display:grid; place-items:center; flex:none; width:24px; height:24px; border:1px solid currentColor; border-radius:50%; font-size:11px; }
.mt-guide-source { margin:25px 10px 0; color:#526066; font-size:11px; line-height:1.65; overflow-wrap:anywhere; }
#mt-step-content { padding:28px 32px 34px; min-width:0; }
.mt-step-count { font-size:12px; color:#53646a; margin-bottom:12px; }
#mt-step-title { font-size:25px; line-height:1.3; letter-spacing:-.02em; }
.mt-step-instruction { color:#45535a; font-size:14px; line-height:1.75; margin-top:14px; max-width:75ch; }
.mt-fields { display:grid; gap:20px; margin-top:27px; }
.mt-fields label { display:grid; gap:9px; font-size:13px; font-weight:600; line-height:1.4; }
.mt-fields textarea { width:100%; min-height:110px; padding:12px 14px; resize:vertical; border:1px solid #a8b5b8; border-radius:3px; background:white; font-size:14px; font-weight:400; line-height:1.6; caret-color:#0f5c6b; }
.mt-step-actions { display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-top:24px; }
.mt-dialog-footer { display:flex; flex-shrink:0; align-items:center; justify-content:space-between; gap:20px; padding:14px 26px; border-top:1px solid #d5dcdd; background:#faf8f3; }
.mt-dialog-footer p { max-width:55ch; font-size:11px; line-height:1.5; color:#526066; }
.mt-dialog-footer button { flex-shrink:0; }
.mt-complete p { margin:14px 0 20px; font-size:14px; line-height:1.65; color:#45535a; }
.mt-result { border-top:1px solid #d5dcdd; padding-top:22px; margin-top:24px; }
.mt-result h4 { font-size:16px; margin:0 0 20px; }
.mt-result h5 { font-size:12px; margin:16px 0 8px; }
.mt-result p { white-space:pre-wrap; overflow-wrap:anywhere; font-size:14px; line-height:1.7; color:#45535a; }
.mt-result + button { margin-top:28px; }
@media (max-width:1100px) { .mt-phase-section { grid-template-columns:minmax(0,1fr) minmax(220px,300px); padding:24px; gap:24px; } }
@media (max-width:850px) { .mt-phase-section { grid-template-columns:1fr; } .mt-din-map { max-width:340px; } .mt-hotspot strong { font-size:11px; } .mt-guide { grid-template-columns:210px minmax(0,1fr); } #mt-step-content { padding:24px; } }
@media (max-width:600px) {
  .methods-view { padding:28px 20px 40px; }
  .mt-phase-section { margin-top:22px; padding:22px 16px 14px; gap:15px; }
  .mt-phase-copy .mt-small { margin-top:18px; }
  .mt-catalogue-heading { align-items:start; flex-direction:column; gap:8px; }
  .mt-filters label { flex-basis:calc(50% - 14px); min-width:0; }
  .mt-filters .mt-search { flex-basis:100%; }
  .mt-filters .mt-list-sort { flex-basis:100%; }
  .mt-filters > button { flex:1 1 calc(50% - 14px); }
  .mt-dialog { width:100vw; height:100svh; margin:0; border-radius:0; }
  .mt-dialog-header { padding:20px; gap:12px; }
  .mt-mode { padding:0 20px; }
  .mt-profile { padding:24px 20px; }
  .mt-facts { gap:20px; }
  .mt-guide { display:block; }
  .mt-guide aside { padding:18px 16px; border-right:0; border-bottom:1px solid #d5dcdd; }
  #mt-progress { margin-bottom:12px; }
  #mt-step-nav { display:flex; overflow-x:auto; gap:8px; scrollbar-color:#728a90 #edf1f2; }
  #mt-step-nav li { flex:0 0 175px; }
  #mt-step-nav button { height:100%; }
  .mt-guide-source { margin:14px 10px 0; }
  #mt-step-content { padding:24px 20px; }
  .mt-dialog-footer { padding:12px 20px; flex-wrap:wrap; gap:9px; }
  .mt-dialog-footer button { min-height:38px; padding:8px 12px; }
}
@media (prefers-reduced-motion:reduce) { .mt-hotspot { transition:none; } }
