:root {
  --ink: #111111;
  --muted: #5f6368;
  --line: #e2e2e2;
  --paper: #ffffff;
  --canvas: #f8f8f8;
  --navy: #111111;
  --navy-2: #1a1a1a;
  --orange: #d50000;
  --orange-dark: #9b0000;
  --orange-soft: #fff0f0;
  --green: #1f7255;
  --green-soft: #eaf7f2;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--canvas); }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .48; }

html.app-locked, html.app-locked body { overflow: hidden; }
html.app-locked #site-content { visibility: hidden; }
.access-gate { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; color: #111; background: radial-gradient(circle at 80% 0%, rgba(213,0,0,.3), transparent 31%), linear-gradient(135deg, #111 0%, #1a1a1a 60%, #090909 100%); }
html:not(.app-locked) .access-gate { display: none; }
.access-card { width: min(430px, 100%); padding: clamp(28px, 5vw, 40px); background: #fff; border-radius: 18px; box-shadow: 0 25px 80px rgba(0,0,0,.42); }
.access-card img { display: block; width: min(245px, 78%); height: auto; margin-bottom: 34px; }
.access-kicker { display: block; margin-bottom: 8px; color: var(--orange-dark); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.access-card h1 { font-size: clamp(32px, 7vw, 43px); }
.access-card > p { margin: 15px 0 26px; color: #666; font-size: 16px; line-height: 1.55; }
.access-form { display: grid; gap: 9px; }
.access-form label { color: #3f3f3f; font-size: 14px; font-weight: 750; }
.access-form input { width: 100%; min-height: 52px; padding: 11px 14px; color: #111; background: #fff; border: 1px solid #cfcfcf; border-radius: 9px; outline: 0; font-size: 20px; font-weight: 750; letter-spacing: .18em; text-align: center; }
.access-form input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(213,0,0,.1); }
.access-form button { min-height: 50px; margin-top: 5px; color: #fff; background: var(--orange); border: 0; border-radius: 9px; font-size: 14px; font-weight: 800; }
.access-form button:hover { background: var(--orange-dark); }
.access-error { margin: 2px 0 0; padding: 10px 12px; color: #8e1515; background: #fff0f0; border: 1px solid #efc5c5; border-radius: 8px; font-size: 13px; }
.access-card > small { display: block; margin-top: 24px; color: #858585; font-size: 12px; text-align: center; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 clamp(20px, 5vw, 68px);
  color: var(--ink);
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(0,0,0,.07);
  backdrop-filter: blur(16px) saturate(180%);
}

.brand { display: flex; align-items: center; gap: 17px; }
.brand img { display: block; width: clamp(180px, 19vw, 235px); height: auto; }
.brand > span { padding-left: 17px; color: #6b6b6b; border-left: 1px solid #dedede; font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.effective-date { display: flex; align-items: center; gap: 8px; color: #555; font-size: 13px; }
.effective-date::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(213,0,0,.1); }
.topbar-actions { display: flex; align-items: center; gap: 16px; }
.lock-button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; color: #555; background: #f3f3f3; border: 1px solid #e1e1e1; border-radius: 9px; font-size: 12px; font-weight: 700; }
.lock-button:hover { color: var(--orange-dark); border-color: #d7a5a5; background: #fff5f5; }
.lock-button svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px clamp(20px, 6vw, 90px) 104px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 0%, rgba(213,0,0,.3), transparent 31%),
    linear-gradient(132deg, #111 0%, #1a1a1a 58%, #0d0d0d 100%);
}
.hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -155px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.018);
}
.hero-content { position: relative; z-index: 1; width: min(760px, 100%); margin: 0 auto; text-align: center; }
.eyebrow { margin: 0 0 17px; color: #ff4a4a; font-size: 12px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(36px, 6vw, 63px); line-height: 1.03; letter-spacing: -.045em; }
.hero-copy { max-width: 650px; margin: 20px auto 0; color: #d2d2d2; font-size: clamp(16px, 2.2vw, 19px); line-height: 1.65; }

.calculator-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: -58px auto 0;
  align-items: start;
}
.panel { background: var(--paper); border: 1px solid rgba(0, 0, 0, .07); border-radius: 18px; box-shadow: var(--shadow); }
.input-panel { padding: clamp(24px, 4vw, 40px); }
.panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.step-label { display: block; margin-bottom: 7px; color: var(--orange-dark); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h2 { margin: 0; font-size: 24px; letter-spacing: -.025em; }
.reset-button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; color: var(--muted); background: transparent; border: 0; border-radius: 9px; font-size: 13px; }
.reset-button:hover { color: var(--ink); background: #f4f4f4; }
.reset-button svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.section-label { margin: 0 0 13px; color: var(--ink); font-size: 13px; font-weight: 750; }
.start-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 32px; }
.start-option { position: relative; }
.start-option input { position: absolute; opacity: 0; pointer-events: none; }
.start-option span { display: flex; align-items: center; gap: 10px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; font-weight: 700; transition: .18s ease; }
.start-option span::before { content: ""; width: 14px; height: 14px; border: 2px solid #aeb9bf; border-radius: 50%; box-shadow: inset 0 0 0 3px #fff; }
.start-option input:checked + span { color: var(--ink); border-color: var(--orange); background: #fff5f5; box-shadow: inset 0 0 0 1px var(--orange); }
.start-option input:checked + span::before { border-color: var(--orange); background: var(--orange); }
.start-option input:focus-visible + span { outline: 3px solid rgba(232,111,40,.3); outline-offset: 2px; }
.origin-field { display: flex; flex-direction: column; gap: 7px; margin: -17px 0 30px; padding: 15px; background: #f4f7f8; border: 1px solid #e0e6e9; border-radius: 12px; }
.origin-field label { color: #48555e; font-size: 11px; font-weight: 750; }
.origin-field input { width: 100%; min-height: 44px; padding: 10px 12px; color: var(--ink); background: #fff; border: 1px solid #cfd7dc; border-radius: 10px; outline: 0; }
.origin-field input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(213,0,0,.08); }
.origin-field small { color: #7d8991; font-size: 10px; line-height: 1.4; }

.locations-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.locations-heading .section-label { margin: 0; }
.reorder-help { display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 7px 9px; color: #5b6870; background: #eef2f4; border-radius: 8px; font-size: 11px; font-weight: 700; }
.reorder-help svg { width: 9px; height: 13px; fill: var(--orange-dark); }
.locations { display: grid; gap: 12px; }
.location-row { display: grid; grid-template-columns: 56px minmax(230px, 1.5fr) minmax(105px, .5fr) 34px; gap: 10px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: #fbfcfc; }
.location-index { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 52px; min-height: 52px; margin-top: 15px; padding: 6px 4px; color: var(--navy); background: #e8eef1; border: 1px solid transparent; border-radius: 10px; font-size: 12px; font-weight: 850; cursor: grab; touch-action: none; transition: color .15s ease, background .15s ease, border-color .15s ease, transform .15s ease; }
.location-index:hover { color: var(--orange-dark); background: #fff1f1; border-color: #efcaca; }
.location-index:focus-visible { outline: 3px solid rgba(213,0,0,.18); outline-offset: 2px; }
.location-index svg { width: 10px; height: 14px; fill: currentColor; opacity: .58; }
.drag-grip-main { display: flex; align-items: center; gap: 7px; }
.location-number { line-height: 1; }
.drag-label { color: #64747d; font-size: 8px; font-weight: 850; letter-spacing: .08em; line-height: 1; text-transform: uppercase; }
.location-row.is-dragging { z-index: 1100; pointer-events: none; opacity: .97; background: #fff; border: 2px solid var(--orange); box-shadow: 0 24px 55px rgba(16,45,63,.3); }
.location-row.is-dragging .location-index { color: #fff; background: var(--orange); border-color: var(--orange); cursor: grabbing; }
.location-row.is-dragging .drag-label { color: #fff; }
.location-drop-placeholder { display: grid; place-items: center; box-sizing: border-box; border: 2px dashed var(--orange); border-radius: 15px; background: repeating-linear-gradient(-45deg, #fff, #fff 11px, #fff3f3 11px, #fff3f3 22px); animation: dropPulse .9s ease-in-out infinite alternate; }
.location-drop-placeholder span { padding: 8px 13px; color: #fff; background: var(--orange); border-radius: 999px; box-shadow: 0 7px 18px rgba(213,0,0,.25); font-size: 12px; font-weight: 850; }
.locations.is-reordering { background: rgba(213,0,0,.035); border-radius: 18px; box-shadow: 0 0 0 8px rgba(213,0,0,.035); }
body.is-reordering-stops { cursor: grabbing; user-select: none; }
body.is-reordering-stops .location-index { cursor: grabbing; }
body.is-reordering-stops::after { content: "Zieladresse verschieben · an der markierten Stelle loslassen"; position: fixed; top: 78px; left: 50%; z-index: 1200; padding: 10px 16px; color: #fff; background: var(--navy); border-radius: 999px; box-shadow: 0 12px 32px rgba(16,45,63,.26); font-size: 12px; font-weight: 800; pointer-events: none; transform: translateX(-50%); }
@keyframes dropPulse { from { box-shadow: inset 0 0 0 0 rgba(213,0,0,.04); } to { box-shadow: inset 0 0 0 5px rgba(213,0,0,.11); } }
.field-group { display: flex; flex-direction: column; gap: 7px; }
.field-group label { color: #48555e; font-size: 11px; font-weight: 700; }
.field-group label span { color: #9aa5ac; font-weight: 500; }
.field-group input { width: 100%; min-height: 44px; padding: 10px 12px; color: var(--ink); background: #fff; border: 1px solid #cfd7dc; border-radius: 10px; outline: 0; transition: .15s ease; }
.field-group input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(213,0,0,.08); }
.field-group input[aria-invalid="true"] { border-color: #bf3636; box-shadow: 0 0 0 3px rgba(191,54,54,.09); }
.distance-input-wrap { position: relative; }
.distance-input-wrap input { padding-right: 42px; font-weight: 750; }
.distance-input-wrap > span { position: absolute; top: 50%; right: 12px; color: var(--muted); font-size: 12px; transform: translateY(-50%); }
.field-error { min-height: 14px; color: #a82c2c; font-size: 10px; line-height: 1.25; }
.route-status { min-height: 14px; color: var(--green); font-size: 10px; line-height: 1.25; }
.route-status.is-error { color: #a82c2c; }
.distance-input.route-filled { color: var(--green); background: var(--green-soft); border-color: #a9d8c6; }
.remove-location { display: grid; place-items: center; width: 32px; height: 32px; margin-top: 29px; color: #7d8991; background: transparent; border: 0; border-radius: 9px; }
.remove-location:hover:not(:disabled) { color: #a82c2c; background: #fff0f0; }
.remove-location svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.add-button { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13px 16px; color: var(--ink); background: #fff; border: 1px dashed #aaa; border-radius: 8px; font-size: 13px; font-weight: 750; }
.add-button:hover:not(:disabled) { color: var(--orange); border-color: var(--orange); background: #fff8f8; }
.add-button svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.add-stop-button { margin-top: 14px; }
.route-button { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 50px; margin-top: 18px; padding: 13px 16px; color: #fff; background: var(--orange); border: 1px solid var(--orange); border-radius: 8px; font-size: 13px; font-weight: 800; box-shadow: 0 8px 24px rgba(213,0,0,.2); transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.route-button:hover:not(:disabled) { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(213,0,0,.25); }
.route-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.route-note { margin: 8px 0 0; color: #89949b; font-size: 10px; line-height: 1.4; text-align: center; }

.result-panel { position: sticky; top: 94px; overflow: hidden; }
.result-card { min-height: 470px; padding: 34px; background: linear-gradient(150deg, #fff 0%, #fafafa 100%); }
.result-card.has-result { border-top: 4px solid var(--orange); }
.result-empty { display: flex; min-height: 400px; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); text-align: center; }
.empty-icon { display: grid; place-items: center; width: 66px; height: 66px; margin-bottom: 20px; color: var(--orange); background: #fff0f0; border-radius: 18px; }
.empty-icon svg { width: 31px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.result-empty h3 { margin: 0 0 8px; color: var(--ink); font-size: 18px; }
.result-empty p { max-width: 250px; margin: 0; font-size: 13px; line-height: 1.55; }
.result-topline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.zone-badge, .inquiry-badge { display: inline-flex; padding: 6px 9px; border-radius: 7px; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.zone-badge { color: var(--orange-dark); background: var(--orange-soft); }
.inquiry-badge { color: #8a5c0c; background: #fff4d5; }
.result-label { margin: 27px 0 4px; color: var(--muted); font-size: 12px; font-weight: 700; }
.result-total { margin: 0 0 28px; color: var(--navy); font-size: clamp(42px, 5vw, 58px); font-weight: 830; letter-spacing: -.055em; }
.calculation-lines { border-top: 1px solid var(--line); }
.calculation-lines > div { display: grid; grid-template-columns: 1fr auto; gap: 3px 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.calculation-lines span { color: var(--muted); font-size: 12px; }
.calculation-lines strong { color: var(--ink); font-size: 14px; }
.calculation-lines small { grid-column: 1 / -1; color: #89949b; font-size: 10px; }
.calculation-lines .calculation-total span, .calculation-lines .calculation-total strong { color: var(--navy); font-weight: 850; }
.reason-box { display: flex; gap: 11px; margin-top: 20px; padding: 14px; color: #454545; background: #f2f2f2; border-radius: 10px; }
.reason-box svg { flex: 0 0 auto; width: 18px; fill: none; stroke: var(--navy-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.reason-box p { margin: 0; font-size: 11px; line-height: 1.55; }
.reason-box strong { color: var(--navy); }
.result-actions { display: grid; grid-template-columns: 1fr auto; gap: 9px; padding: 14px; border-top: 1px solid var(--line); background: #fff; }
.primary-button, .secondary-button { display: inline-flex; min-height: 45px; align-items: center; justify-content: center; gap: 8px; border-radius: 11px; font-size: 12px; font-weight: 800; }
.primary-button { color: #fff; background: var(--orange); border: 1px solid var(--orange); }
.primary-button:hover:not(:disabled) { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-1px); }
.secondary-button { width: 46px; color: var(--navy); background: #fff; border: 1px solid var(--line); }
.secondary-button:hover:not(:disabled) { color: var(--orange); background: #f7f7f7; }
.primary-button svg, .secondary-button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.route-map-card { padding: 18px 18px 20px; border-top: 1px solid var(--line); background: #fff; }
.route-map-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 13px; }
.route-map-heading h3 { margin: 0; color: var(--ink); font-size: 16px; }
.route-map-heading p { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.35; }
.route-map-count { max-width: 48%; color: var(--orange-dark); font-size: 11px; font-weight: 800; line-height: 1.4; text-align: right; }
#route-map { width: 100%; height: 240px; overflow: hidden; border: 1px solid #dedede; border-radius: 12px; background: #ececec; }
#route-map .leaflet-control-attribution { font-size: 10px; }
.route-sequence-marker { background: transparent; border: 0; }
.route-sequence-marker span { display: grid; place-items: center; width: 30px; height: 30px; color: #fff; background: var(--orange); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 4px 12px rgba(16,45,63,.28); font-size: 12px; font-weight: 900; }
.route-start-marker span { background: var(--navy); }
.route-time-summary { margin-top: 14px; overflow: hidden; border: 1px solid #dde3e6; border-radius: 12px; background: #f7f9fa; }
.route-time-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 13px; border-bottom: 1px solid #e1e6e9; }
.route-time-heading span { color: var(--navy); font-size: 12px; font-weight: 850; }
.route-time-heading small { color: #7c8991; font-size: 9px; text-align: right; }
.route-time-legs { padding: 3px 13px; }
.route-time-legs > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid #e5eaed; }
.route-time-legs > div:last-child { border-bottom: 0; }
.route-time-legs span { color: #65727a; font-size: 11px; }
.route-time-legs strong { color: var(--ink); font-size: 12px; }
.route-time-legs > div.route-time-return { margin: 3px -7px; padding: 9px 7px; border: 0; border-radius: 8px; background: #fff1f1; }
.route-time-return span { color: var(--orange-dark); font-weight: 800; }
.route-time-return span small { display: inline-flex; margin-left: 5px; padding: 2px 5px; color: var(--orange-dark); background: #fbd9d9; border-radius: 5px; font-size: 8px; font-weight: 850; letter-spacing: .03em; text-transform: uppercase; }
.route-time-total { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 13px; color: #fff; background: var(--navy); }
.route-time-total span { font-size: 12px; font-weight: 750; }
.route-time-total strong { font-size: 17px; }
.route-time-summary.is-unavailable { padding: 11px 13px; color: #8a5c0c; background: #fff8e5; border-color: #f0dfac; }
.route-time-summary.is-unavailable p { margin: 0; font-size: 11px; }

.tariffs { width: min(1180px, calc(100% - 40px)); margin: 36px auto 70px; padding: clamp(25px, 4vw, 38px); background: #f0f0f0; border-radius: 18px; }
.tariffs-header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.tariffs-header p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.rule-pill { display: inline-flex; padding: 8px 12px; color: var(--navy); background: #fff; border-radius: 9px; font-size: 11px; font-weight: 750; box-shadow: 0 4px 15px rgba(16,45,63,.06); }
.tariff-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.tariff { padding: 17px 15px; background: rgba(255,255,255,.72); border: 1px solid rgba(16,45,63,.08); border-radius: 12px; }
.tariff strong { display: block; color: var(--navy); font-size: 13px; }
.tariff span { display: block; margin: 6px 0 15px; min-height: 28px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.tariff b { color: var(--orange-dark); font-size: 17px; }
.tariff:last-child { color: #fff; background: var(--navy); }
.tariff:last-child strong { color: #fff; }
.tariff:last-child span { color: #b9c8d1; }
.tariff:last-child b { color: #ff9a5b; }
.footer-note { width: min(1180px, calc(100% - 40px)); margin: -42px auto 32px; color: #89949b; font-size: 10px; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 930px) {
  .calculator-shell { grid-template-columns: 1fr; }
  .result-panel { position: static; }
  .result-card { min-height: auto; }
  .result-empty { min-height: 260px; }
  .tariff-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 620px) {
  .topbar { min-height: 66px; padding: 0 17px; }
  .brand > span { display: none; }
  .effective-date { font-size: 10px; }
  .topbar-actions { gap: 8px; }
  .lock-button span { display: none; }
  .hero { padding: 53px 20px 85px; }
  .hero-copy { font-size: 15px; }
  .calculator-shell { width: calc(100% - 24px); margin-top: -43px; }
  .input-panel { padding: 22px 17px; }
  .panel-header { margin-bottom: 24px; }
  .start-options { margin-bottom: 26px; }
  .locations-heading { align-items: flex-start; }
  .reorder-help { max-width: 150px; font-size: 9px; line-height: 1.3; }
  .location-row { grid-template-columns: 44px minmax(0, 1fr) 32px; padding: 13px 10px; gap: 8px; }
  .location-index { grid-row: 1 / 3; align-self: center; width: 42px; margin-top: 0; }
  .field-group { grid-column: 2; }
  .address-group { grid-row: 1; }
  .distance-group { grid-row: 2; }
  .remove-location { grid-column: 3; grid-row: 1 / 3; align-self: center; margin-top: 0; }
  body.is-reordering-stops::after { top: 10px; width: calc(100% - 24px); text-align: center; }
  .route-map-heading { align-items: flex-start; flex-direction: column; }
  .route-map-count { max-width: none; text-align: left; }
  .result-card { padding: 25px 20px; }
  .tariffs { width: calc(100% - 24px); margin-top: 24px; padding: 23px 17px; }
  .tariffs-header { display: block; }
  .rule-pill { margin-top: 15px; }
  .tariff-grid { grid-template-columns: repeat(2, 1fr); }
}

@media print {
  :root { background: #fff; }
  .topbar, .hero, .input-panel, .tariffs, .footer-note, .result-actions, .route-map-heading, #route-map, .lock-button, .access-gate { display: none !important; }
  .calculator-shell { display: block; width: 100%; margin: 0; }
  .panel { border: 0; box-shadow: none; }
  .result-panel { position: static; }
  .result-card { padding: 20px; }
  .route-map-card { padding: 0 20px 20px; border: 0; }
  .result-card::before { content: "NORO Fahrtkostenberechnung · gültig ab 01.08.2026"; display: block; margin-bottom: 32px; color: #65717b; font-size: 12px; }
}
