/* umzugsfirma-kanton-schaffhausen.ch — „Schaffhausen – Munot, Rhein, Erker“
   Heritage-Industrial: Kohle + Safrangelb + Rheinblau, Slab-Serif, eckige Formen, 4px-Gelblinien. */
:root {
  --ink: #1d1d1f;
  --ink-2: #2a2a2d;
  --ink-3: #3a3a3e;
  --sun: #f2b705;
  --sun-hi: #ffc933;
  --sun-soft: #fdf3cf;
  --rhine: #1f4e79;
  --rhine-deep: #153a5c;
  --rhine-soft: #e6eef6;
  --paper: #f6f4ee;
  --stone: #ebe7dc;
  --white: #ffffff;
  --text: #1d1d1f;
  --muted: #4a4a50;
  --line: #d6d0c1;
  --link: #1f4e79;
  --slab: "Rockwell", "Roboto Slab", "Georgia", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: hidden;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }
body.nav-open { overflow: hidden; }
img, svg { max-width: 100%; }

h1, h2, h3, .cta-band-title, .footer-title, .brand-name {
  font-family: var(--slab);
  font-weight: 700;
  line-height: 1.18;
  color: inherit;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2rem, 5.2vw, 3.5rem); margin: 0 0 20px; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: 0 0 18px; }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); margin: 28px 0 10px; }
p { margin: 0 0 16px; }
a { color: var(--link); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--rhine-deep); text-decoration-color: var(--sun); }
strong { font-weight: 700; }
ul, ol { padding-left: 1.25em; margin: 0 0 18px; }
li { margin-bottom: 6px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.prose { max-width: 800px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--sun); color: var(--ink); padding: 10px 16px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 800; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; border: 3px solid transparent; border-radius: 0;
  padding: 12px 22px; line-height: 1.2; cursor: pointer; text-align: center;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn--lg { padding: 16px 28px; font-size: 1.0625rem; }
.btn--sun { background: var(--sun); color: var(--ink); border-color: var(--sun); box-shadow: 5px 5px 0 var(--ink-3); }
.btn--sun:hover { background: var(--sun-hi); color: var(--ink); transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink-3); }
.btn--ink { background: var(--ink); color: var(--sun); border-color: var(--ink); box-shadow: 5px 5px 0 rgba(29,29,31,.25); }
.btn--ink:hover { background: var(--ink-2); color: var(--sun-hi); transform: translate(-2px, -2px); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--sun); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); border-bottom: 4px solid var(--sun); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand:hover { color: var(--white); }
.brand-mark { width: 44px; height: 44px; flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-top { font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; color: var(--sun); font-weight: 700; }
.brand-name { font-size: 1.12rem; color: var(--white); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
.nav-list li { margin: 0; }
.nav-list a { color: var(--white); text-decoration: none; font-weight: 600; font-size: 1rem; padding: 6px 0; border-bottom: 3px solid transparent; }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--sun); border-bottom-color: var(--sun); }
.nav-cta { box-shadow: none; padding: 10px 18px; }
.nav-cta:hover { box-shadow: none; transform: none; }
.nav-toggle { display: none; width: 48px; height: 48px; background: transparent; border: 2px solid var(--sun); border-radius: 0; cursor: pointer; position: relative; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  position: absolute; left: 11px; right: 11px; height: 3px; background: var(--sun); content: ""; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bars { top: 21px; }
.nav-toggle-bars::before { left: 0; right: 0; top: -8px; }
.nav-toggle-bars::after { left: 0; right: 0; top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: fixed; top: calc(var(--header-h) + 4px); left: 0; right: 0; bottom: 0;
    background: var(--ink); flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 32px var(--gutter); gap: 28px; overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { display: block; font-family: var(--slab); font-size: 1.6rem; padding: 16px 0; border-bottom: 1px solid var(--ink-3); }
  .nav-list a:hover, .nav-list a[aria-current="page"] { border-bottom-color: var(--sun); }
  .nav-cta { padding: 16px; font-size: 1.1rem; }
}
@media (max-width: 400px) {
  .brand-name { font-size: 1rem; }
  .brand-mark { width: 38px; height: 38px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); padding-block: 48px 0; }
.hero-band {
  position: absolute; left: -20%; right: -20%; top: 58%; height: 150px;
  background: var(--sun); transform: rotate(-9deg); transform-origin: center;
}
.hero-band::after { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 6px; background: var(--rhine); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 40px; }
.hero .crumbs { margin-bottom: 18px; }
.eyebrow { display: inline-block; font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--ink); background: var(--sun); padding: 6px 12px; margin-bottom: 20px; }
.hero h1 { color: var(--white); max-width: 18ch; }
.hero--home h1 { font-size: clamp(2.1rem, 5.6vw, 3.9rem); }
.lead { font-size: clamp(1.08rem, 1.7vw, 1.25rem); color: #e9e7e1; max-width: 60ch; background: var(--ink); }
.hero-actions { margin: 28px 0 22px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-points li { margin: 0; background: var(--ink); color: var(--white); border: 2px solid var(--sun); padding: 4px 12px; font-weight: 700; font-size: .95rem; }
.hero-points li::before { content: "■ "; color: var(--sun); }
.hero-side { position: relative; z-index: 1; display: flex; justify-content: center; }
.hero-emblem { width: min(340px, 100%); height: auto; filter: drop-shadow(10px 10px 0 rgba(0,0,0,.35)); }
.hero-media { position: relative; z-index: 2; padding-bottom: 0; }
.hero-media .media--hero { transform: translateY(0); margin-bottom: -1px; }
.hero--legal { padding-block: 48px 40px; border-bottom: 4px solid var(--sun); }
.hero--legal h1 { margin: 0; }

.crumbs { font-size: .92rem; display: flex; flex-wrap: wrap; gap: 8px; color: #c9c6bd; }
.crumbs a { color: var(--sun); }
.crumbs a:hover { color: var(--sun-hi); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-side { position: absolute; right: -60px; top: -30px; opacity: .22; pointer-events: none; }
  .hero-emblem { width: 240px; filter: none; }
  .hero-band { top: auto; bottom: 90px; height: 90px; }
}

/* ---------- Media slots ---------- */
.media {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, transparent 0 62%, rgba(242,183,5,.9) 62% 70%, transparent 70%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 2px, transparent 2px 28px),
    linear-gradient(160deg, #2b5f90 0%, var(--rhine) 45%, var(--rhine-deep) 100%);
  border: 4px solid var(--ink);
}
.media::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border: 4px solid rgba(242,183,5,.85); border-radius: 50%;
}
.media--hero { aspect-ratio: 21 / 8; border: 4px solid var(--sun); border-bottom: 0; }
@media (max-width: 640px) { .media--hero { aspect-ratio: 16 / 10; } }
img.media { display: block; height: auto; object-fit: cover; background: var(--rhine); }
img.media::after { content: none; }
img.media--hero { aspect-ratio: 21 / 8; }
img.media:not(.media--hero) { aspect-ratio: 4 / 3; }
@media (max-width: 640px) { img.media--hero { aspect-ratio: 16 / 10; } }

/* ---------- Sections ---------- */
.section { padding-block: 64px; position: relative; }
@media (min-width: 900px) { .section { padding-block: 96px; } }
.section--paper { background: var(--paper); }
.section--stone { background: var(--stone); }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: #f1efe9; }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink a { color: var(--sun); }
.section--ink a:hover { color: var(--sun-hi); }
.section--rhine { background: var(--rhine); color: #eef3f8; }
.section--rhine h2, .section--rhine h3 { color: var(--white); }
.section--rhine a { color: var(--sun); }
.section--sun { background: var(--sun); color: var(--ink); }
.section--sun a { color: var(--ink); }
.section + .section--paper, .section + .section--white { border-top: 4px solid var(--sun); }

.sec-head { position: relative; max-width: 820px; margin-bottom: 40px; }
.sec-no {
  display: block; font-family: var(--slab); font-weight: 700; font-size: clamp(4rem, 10vw, 7rem); line-height: .85;
  color: transparent; -webkit-text-stroke: 2px var(--ink); margin-bottom: 8px; letter-spacing: -.02em;
}
.section--ink .sec-no, .section--rhine .sec-no { -webkit-text-stroke-color: var(--sun); }
@supports not (-webkit-text-stroke: 2px black) { .sec-no { color: var(--line); } }
.kicker { display: inline-block; font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; border-top: 4px solid var(--sun); padding-top: 8px; margin-bottom: 12px; }
.sec-head p { font-size: 1.08em; }

.split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* Faktenbox mit gelber Kante */
.facts { background: var(--white); color: var(--text); border-left: 8px solid var(--sun); padding: 28px; box-shadow: 8px 8px 0 var(--ink); }
.facts h3 { margin-top: 0; }
.facts ul { list-style: none; padding: 0; }
.facts li { padding: 8px 0; border-bottom: 1px solid var(--line); margin: 0; }
.facts li:last-child { border-bottom: 0; }
.note { font-size: .9rem; color: var(--muted); }
.section--ink .note, .section--rhine .note { color: #cfd6de; }
.facts .note { color: var(--muted); }

/* Erker-Karten: Erker-Umriss mit abgeschrägten oberen Ecken */
.erker-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.erker {
  position: relative; background: var(--white); color: var(--text); padding: 36px 26px 26px; margin: 0;
  clip-path: polygon(22px 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%, 0 22px);
  border-bottom: 6px solid var(--sun);
}
.erker::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 6px; background: var(--ink); }
.erker h3 { margin: 0 0 10px; color: var(--ink); }
.erker p { margin: 0 0 10px; }
.erker p:last-child { margin-bottom: 0; }
.erker .tag { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--rhine); margin-bottom: 6px; }
.section--paper .erker, .section--white .erker { background: var(--white); outline: 1px solid var(--line); outline-offset: -1px; }
.section--white .erker { background: var(--paper); }
.erker a.more { font-weight: 800; color: var(--rhine); }
.section--ink .erker a, .section--rhine .erker a { color: var(--rhine); }

/* Schritte */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 0; counter-reset: s; border: 4px solid var(--sun); }
.steps li { counter-increment: s; padding: 30px 26px; margin: 0; border-right: 4px solid var(--sun); position: relative; }
.steps li:last-child { border-right: 0; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--slab); font-size: 3rem; line-height: 1; color: var(--sun); margin-bottom: 10px; }
.steps h3 { margin-top: 0; }
@media (max-width: 900px) { .steps li { border-right: 0; border-bottom: 4px solid var(--sun); } .steps li:last-child { border-bottom: 0; } }

.inline-cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* Callout */
.callout { background: var(--rhine); color: #eef3f8; padding: 26px 28px; border-left: 8px solid var(--sun); margin: 28px 0; }
.callout h3 { color: var(--white); margin-top: 0; }
.callout a { color: var(--sun); }
.callout p:last-child { margin-bottom: 0; }
.callout--sun { background: var(--sun-soft); color: var(--ink); border-left-color: var(--ink); }
.callout--sun h3 { color: var(--ink); }
.callout--sun a { color: var(--rhine); }

/* Tabellen */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px 0 12px; border: 4px solid var(--ink); background: var(--white); }
table { width: 100%; border-collapse: collapse; min-width: 480px; color: var(--text); }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--ink); color: var(--sun); font-family: var(--slab); font-size: 1rem; }
tbody tr:nth-child(even) { background: #faf8f2; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; }

/* Zeitachse */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 14px; top: 6px; bottom: 6px; width: 4px; background: var(--sun); }
.tl-item { position: relative; padding: 0 0 34px 56px; margin: 0; }
.tl-item::before { content: ""; position: absolute; left: 3px; top: 6px; width: 26px; height: 26px; background: var(--ink); border: 4px solid var(--sun); border-radius: 50%; }
.tl-when { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: var(--ink); color: var(--sun); padding: 3px 10px; margin-bottom: 6px; }
.tl-item h3 { margin: 4px 0 8px; }
.section--rhine .tl-item::before { background: var(--rhine-deep); }
.section--rhine .tl-when { background: var(--sun); color: var(--ink); }

/* Zwei Richtungen */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }
.duo-card { background: var(--white); color: var(--text); padding: 30px 28px; border-top: 8px solid var(--sun); }
.duo-card h3 { margin-top: 0; color: var(--ink); }
.duo-card .flag { font-family: var(--slab); font-weight: 700; color: var(--rhine); font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; }
.duo-card a { color: var(--rhine); }

/* Checkliste */
.checklist { display: grid; gap: 20px; }
.howto-step { background: var(--white); color: var(--text); border: 3px solid var(--ink); padding: 24px 26px 18px; position: relative; }
.howto-step h3 { margin: 0 0 8px; padding-right: 8px; }
.howto-step .when { display: inline-block; background: var(--sun); color: var(--ink); font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; padding: 3px 10px; margin-bottom: 8px; }
.howto-step ul { margin-bottom: 8px; }

/* Häkchenliste */
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 14px; background: var(--sun); outline: 2px solid var(--ink); outline-offset: 0; }
.section--ink .ticks li::before, .section--rhine .ticks li::before { outline-color: var(--white); }

/* FAQ */
.faq { border-top: 4px solid var(--ink); }
.faq-item { border-bottom: 2px solid var(--ink); background: transparent; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 20px 52px 20px 0; position: relative;
  font-family: var(--slab); font-weight: 700; font-size: 1.15rem; line-height: 1.35; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 14px; width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--sun); color: var(--ink); font-family: var(--sans); font-weight: 800; font-size: 1.4rem;
}
.faq-item[open] summary::after { content: "–"; }
.faq-a { padding: 0 0 18px; max-width: 72ch; }
.faq-a p:last-child { margin-bottom: 0; }

/* CTA-Band */
.cta-band { background: var(--sun); color: var(--ink); border-top: 4px solid var(--ink); padding-block: 48px; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -60px; top: -40px; width: 260px; height: 260px; border: 18px solid rgba(29,29,31,.08); border-radius: 50%; }
.cta-band-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band-kicker { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 6px; }
.cta-band-title { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0; max-width: 28ch; }

/* Footer */
.site-footer { background: var(--ink); color: #d7d4cc; padding-block: 56px 28px; font-size: .98rem; }
.site-footer a { color: #f1efe9; text-decoration: none; }
.site-footer a:hover { color: var(--sun); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 36px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { margin-top: 16px; max-width: 36ch; }
.footer-title { color: var(--sun); font-size: 1.05rem; margin: 0 0 12px; border-bottom: 4px solid var(--sun); display: inline-block; padding-bottom: 4px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--ink-3); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-bottom p { margin: 0; }

/* Rechtliches */
.legal { padding-block: 56px 80px; background: var(--white); }
.legal h2 { font-size: 1.4rem; margin-top: 36px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Kontrast CTA: Linkfarbe in dunklen Sektionen darf Buttontext nicht überschreiben */
a.btn.btn--sun, .btn.btn--sun, a.btn.btn--sun:visited { color: #1d1d1f !important; }
